Skip to content

ci: install npm deps in release workflow #46

ci: install npm deps in release workflow

ci: install npm deps in release workflow #46

Workflow file for this run

name: CI
on:
push:
branches: ["**"]
pull_request:
branches: ["main"]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
- run: npm install --no-package-lock --ignore-scripts
- uses: denoland/setup-deno@v2
with:
deno-version: latest
- name: Validate source and package outputs
run: deno task validate
test-node:
runs-on: ubuntu-latest
needs: validate
strategy:
fail-fast: false
matrix:
node-version: [22, 24]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: npm install --no-package-lock --ignore-scripts
- run: npm x vitest run
test-bun:
runs-on: ubuntu-latest
needs: validate
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
- run: npm install --no-package-lock --ignore-scripts
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun x vitest run