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
|
||||||
|
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:
|
with:
|
||||||
node-version: 18
|
node-version: ${{ matrix.node }}
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm test
|
- run: npm test
|
Loading…
Reference in a new issue