chore(changeset): release packages (#706) #203
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: Runs Vitest | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Enable corepack | |
run: corepack enable | |
- name: Install deps | |
run: yarn --immutable | |
# See if the build runs | |
- name: Run build | |
run: yarn build | |
- name: Run tests | |
run: npm run test |