Skip to content

chore(ci): add GitHub Actions #1

chore(ci): add GitHub Actions

chore(ci): add GitHub Actions #1

Workflow file for this run

name: test
on:
push:
branches: ["*"]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Use Node version defined in manifest
uses: volta-cli/action@v4
- name: Node.js version
run: node -v
- name: npm version
run: npm -v
- name: Install dependencies
run: npm ci
- name: Check for build errors
run: npm run build
- name: Run test suite
run: npm test