Skip to content

feat(node.yml): Update workflows for Node.js CI setup including tests. #1

feat(node.yml): Update workflows for Node.js CI setup including tests.

feat(node.yml): Update workflows for Node.js CI setup including tests. #1

Workflow file for this run

name: Node.js
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Run tests
run: npm test
- name: Check code coverage
run: npm run coverage