ci: test on all supported Node.js versions (#116)

This commit is contained in:
Antoine du Hamel 2022-06-02 00:47:40 +02:00 committed by GitHub
parent e810142ede
commit 78b243c881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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