chore(deps): update dependency @percy/cli to v1.27.0 #15434
Workflow file for this run
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@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
with: | |
fetch-depth: 0 | |
- name: Import Public PGP Key | |
run: curl https://keybase.io/travi/key.asc | gpg --import | |
- name: Setup node | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
- run: npm clean-install | |
- run: npm audit signatures | |
- run: npm test | |
env: | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
- name: Extract branch name | |
shell: bash | |
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" | |
id: extract_branch | |
# - name: report webpack stats | |
# run: npm run packtracker:publish | |
# env: | |
# PT_PROJECT_TOKEN: ${{ secrets.PT_PROJECT_TOKEN }} | |
# PT_BRANCH: ${{ steps.extract_branch.outputs.branch }} | |
deploy: | |
if: github.ref == 'refs/heads/master' | |
needs: verify | |
runs-on: ubuntu-latest | |
environment: Production | |
steps: | |
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
- name: Setup node | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
- run: npm clean-install | |
- run: npm audit signatures | |
- run: npm run deploy:netlify -- --prod | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
permissions: | |
contents: read |