Skip to content

Update CI workflows #36

Update CI workflows

Update CI workflows #36

Workflow file for this run

name: Tests
env:
NODE_VERSION: 20
on:
push:
branches: master
pull_request:
branches: master
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
env:
NODE_ENV: production
- name: Test
run: npm run test