Update .forgejo/workflows/test.yml

This commit is contained in:
Ecorous 2024-05-12 11:04:07 +02:00
parent 3f9a80bd97
commit a7c667ed4d

View file

@ -1,7 +1,15 @@
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 14, 16, 18 ]
name: Node ${{ matrix.node }} sample
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://code.forgejo.org/actions/setup-node@v4
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test