Update .forgejo/workflows/test.yml
This commit is contained in:
parent
3f9a80bd97
commit
a7c667ed4d
|
@ -1,7 +1,15 @@
|
||||||
steps:
|
jobs:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
build:
|
||||||
- uses: https://code.forgejo.org/actions/setup-node@v4
|
runs-on: ubuntu-latest
|
||||||
with:
|
strategy:
|
||||||
node-version: 18
|
matrix:
|
||||||
- run: npm ci
|
node: [ 14, 16, 18 ]
|
||||||
- run: npm test
|
name: Node ${{ matrix.node }} sample
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node }}
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm test
|
Loading…
Reference in a new issue