chore: bump v0.4.2 #52
Workflow file for this run
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 library | |
on: [release, pull_request] | |
# Cancel previous runs if they were started before the current run. | |
# This prevents the workflow from running on multiple commits simultaneously. | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Test library on examples | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
registry-url: "https://registry.npmjs.org" | |
# Install dependencies and test | |
- run: npm ci | |
# Build the library because examples depend on it | |
- run: npm run build --workspace=next-public | |
- run: npm run test |