chore(deps): update dependency netlify-cli to v17 #10333
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
'on': | |
push: | |
branches: | |
- master | |
- renovate/** | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
env: | |
FORCE_COLOR: 1 | |
NPM_CONFIG_COLOR: always | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Setup node | |
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
- run: npm clean-install | |
- run: npm audit signatures | |
- run: npm test | |
deploy: | |
if: github.ref == 'refs/heads/master' | |
needs: verify | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Setup node | |
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
- run: npm clean-install | |
- run: npm audit signatures | |
- run: npm run deploy:netlify | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
permissions: | |
contents: read |