chore(deps-dev): bump @percy/storybook from 4.1.0 to 6.0.3 #3378
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 | |
- alpha | |
- beta | |
- dependabot/** | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
env: | |
FORCE_COLOR: 1 | |
NPM_CONFIG_COLOR: always | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Read .nvmrc | |
run: echo ::set-output name=NVMRC::$(cat .nvmrc) | |
id: nvm | |
- name: Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ steps.nvm.outputs.NVMRC }} | |
- uses: bahmutov/npm-install@v1 | |
- run: npm test | |
- name: Upload coverage data to Codecov | |
run: 'npm run coverage:report' | |
release: | |
needs: verify | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Read .nvmrc | |
run: echo ::set-output name=NVMRC::$(cat .nvmrc) | |
id: nvm | |
- name: Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ steps.nvm.outputs.NVMRC }} | |
- uses: bahmutov/npm-install@v1 | |
- name: semantic-release | |
run: npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
storybook: | |
if: github.ref == 'refs/heads/master' | |
needs: verify | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Read .nvmrc | |
run: echo ::set-output name=NVMRC::$(cat .nvmrc) | |
id: nvm | |
- name: Setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ steps.nvm.outputs.NVMRC }} | |
- uses: bahmutov/npm-install@v1 | |
- run: npm run deploy:netlify -- --prod | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
automerge: | |
needs: release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: fastify/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |