From 06777bdc73d135cae7bd737329b80cd9b2f67b60 Mon Sep 17 00:00:00 2001 From: Ed Preston Date: Sat, 25 Nov 2023 02:12:13 +1100 Subject: [PATCH] chore(ci): update github actions (#175) use actions/checkout@v4 use actions/setup-node@v4 use default node version for setup node in deploy --- .github/workflows/deploy.yml | 6 +++--- .github/workflows/node.js.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9c9c1a4..8e50591 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,11 +7,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Setup .npmrc file to publish to npm - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: '20.x' registry-url: 'https://registry.npmjs.org' - run: npm ci --ignore-scripts - run: npm run build diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 3a13f8c..0eefebc 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -20,9 +20,9 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci