From 26b2e39f595fd157ff812f54fa9176dfce5470db Mon Sep 17 00:00:00 2001 From: Dusty Greif Date: Wed, 28 Jun 2023 11:40:17 +0000 Subject: [PATCH] Update ci to use node 18 --- .github/workflows/nodejs.yml | 22 ++++++++++------------ .github/workflows/publish.yml | 2 +- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 009eadc..9741cf6 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -5,15 +5,13 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Use Node.js 16.x - uses: actions/setup-node@v1 - with: - node-version: 16.x - - name: npm install, build, and test - run: | - npm install - npm run build - npm test - env: - CI: true + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + registry-url: https://registry.npmjs.org/ + cache: npm + - run: npm ci + - run: npm test + env: + CI: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c1b229d..8e219eb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 18 registry-url: https://registry.npmjs.org/ cache: npm - run: npm ci