Skip to content

chore: fix ci config and package.json #3

chore: fix ci config and package.json

chore: fix ci config and package.json #3

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [20.x, 22.x, 24.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Build AssemblyScript / WASM
run: npm run asbuild
- name: Build
run: npm run build
- name: Run AssemblyScript tests
run: npm run astest:ci
- name: Run tests
run: npm run test