We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 097e5b5 commit a4be691Copy full SHA for a4be691
.github/workflows/ci.yml
@@ -24,6 +24,24 @@ jobs:
24
- run: |
25
yarn install --immutable
26
- run: yarn build
27
+ test:
28
+ name: Unit test
29
+ runs-on: ubuntu-20.04
30
+ defaults:
31
+ run:
32
+ shell: bash
33
+ working-directory: assets
34
+ steps:
35
+ - name: 'Checkout'
36
+ uses: actions/checkout@v3
37
+ - name: Read Node.js version from package.json
38
+ run: echo "nodeVersion=$(node -p "require('./package.json').engines.node")" >> $GITHUB_OUTPUT
39
+ id: engines
40
+ - uses: actions/setup-node@v3
41
+ with:
42
+ node-version: ${{ steps.engines.outputs.nodeVersion }}
43
+ - run: yarn --immutable
44
+ - run: yarn test
45
build-storybook:
46
name: Build Storybook
47
runs-on: ubuntu-latest
0 commit comments