upgrade versions #40
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] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install dependencies | |
run: npm ci | |
- name: Build project | |
run: bun run build | |
- name: Test project | |
run: bun run test | |
- name: Install dependencies | |
working-directory: ./playground | |
run: npm ci | |
- name: Build Playground | |
working-directory: ./playground | |
run: bun run build | |
- name: Run Playground tests | |
working-directory: ./playground | |
run: bun run test |