just test on node lts
This commit is contained in:
5
.github/workflows/the.yml
vendored
5
.github/workflows/the.yml
vendored
@@ -16,17 +16,16 @@ jobs:
|
|||||||
ci:
|
ci:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [16, 17]
|
|
||||||
script-name: [test-coverage, lint, typecheck]
|
script-name: [test-coverage, lint, typecheck]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
name: ${{ matrix.script-name }} (node ${{ matrix.node-version }})
|
name: ${{ matrix.script-name }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
# https://github.com/actions/setup-node#supported-version-syntax
|
# https://github.com/actions/setup-node#supported-version-syntax
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: "lts/*"
|
||||||
- run: npm i -g pnpm
|
- run: npm i -g pnpm
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
- run: pnpm run build
|
- run: pnpm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user