Skip to content

Upgrade to node 20 #298

Upgrade to node 20

Upgrade to node 20 #298

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: node:18.17.0
env:
DOCKER: true
steps:
- uses: actions/checkout@v3
- name: Own all files
run: USER=$(/usr/bin/id -run) && chown -R $USER ./
- name: Install dependencies
run: npm ci
- name: Generate version
run: npm run export-version
- name: Check that linting succeeds
run: npm run lint
- name: Check that build succeeds
run: npm run build
- name: Run unit tests
run: npm test
# - name: Report test coverage
# uses: ArtiomTr/[email protected]