Skip to content

Fix PR automation test for labels #15

Fix PR automation test for labels

Fix PR automation test for labels #15

Workflow file for this run

name: Matrix CI
on:
push:
branches: [ master, feature/github-actions-practice ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22] # Test on 3 Node versions!
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test -- --passWithNoTests --watchAll=false
- name: Build project
run: npm run build
- name: Display Node version
run: |
echo "Testing on Node.js ${{ matrix.node-version }}"
node --version