mirror of https://github.com/nodejs/corepack.git
ci: test on all supported Node.js versions (#116)
This commit is contained in:
parent
e810142ede
commit
78b243c881
|
|
@ -13,13 +13,11 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 14
|
||||
|
||||
node-version: lts/*
|
||||
|
||||
- name: Get the Yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(corepack yarn config get cacheFolder)"
|
||||
|
|
@ -46,6 +44,8 @@ jobs:
|
|||
matrix:
|
||||
node:
|
||||
- 14
|
||||
- 16
|
||||
- 18
|
||||
platform:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
|
|
|
|||
Loading…
Reference in New Issue