Merge pull request #176 from storybookjs/yann/fix-missing-rules #226
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] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout codes | |
uses: actions/checkout@v4 | |
- name: Enable corepack | |
run: corepack enable | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- uses: pnpm/action-setup@v4 | |
with: | |
run_install: true | |
- name: Build | |
run: pnpm run build | |
- name: Run tests | |
run: pnpm run test:ci |