From 0b9bfc20c4e96fb1bcb4c31f4d57d13b25aae082 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Sun, 5 Jun 2022 10:09:03 +0200 Subject: [PATCH] build: run workflows with Node.js@18 --- .github/workflows/lint.yml | 10 +++++----- .github/workflows/test.yml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index db6ad68..a8f3988 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,13 +10,13 @@ on: jobs: build: - runs-on: macos-11 + runs-on: macos-latest steps: - - uses: actions/checkout@master - - name: Use Node.js 16.x - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - name: Use Node.js 18.x + uses: actions/setup-node@v3 with: - version: 16.x + node-version: 18.x - name: Lint run: | npm install diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fb5636f..45d26ab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,13 +10,13 @@ on: jobs: build: - runs-on: macos-11 + runs-on: macos-latest steps: - - uses: actions/checkout@master - - name: Use Node.js 16.x - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - name: Use Node.js 18.x + uses: actions/setup-node@v3 with: - version: 16.x + node-version: 18.x - name: npm install, build, and test run: | npm install