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