Bump @storybook/addon-actions from 6.5.9 to 7.6.6 #377
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: actions/setup-node@v2 | |
with: | |
node-version-file: '.nvmrc' | |
- name: npm install | |
run: npm ci | |
- name: lint ts | |
run: npm run lint:ts | |
- name: lint types | |
run: npm run lint:types | |
- name: lint css | |
run: npm run lint:css | |
build: | |
runs-on: ubuntu-latest | |
env: | |
NODE_ENV: production | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: actions/setup-node@v2 | |
with: | |
node-version-file: '.nvmrc' | |
- name: npm install | |
run: npm ci | |
- name: build | |
run: npm run build |