test/basic-test-env-setup #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit tests of the server | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '16.4.0' | |
- name: 'Install dependencies' | |
run: npm ci | |
- name: 'Build the project with rollup' | |
run: npm run build --if-present | |
- name: Run unit tests | |
run: npm run unit:test | |
env: | |
CI: true |