Skip to content

Changes in CI/CD Actions #2

Changes in CI/CD Actions

Changes in CI/CD Actions #2

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
- name: Upload Jest Test Report
if: always()
uses: actions/upload-artifact@v3
with:
name: jest-test-report
path: ./coverage/