Skip to content

Change to actions4git/add-commit-push #18

Change to actions4git/add-commit-push

Change to actions4git/add-commit-push #18

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-javascript:
name: Build JavaScript library
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build JavaScript library
run: npm run dev
- name: Run JavaScript tests
run: npm run test