From 7c45b950a04502771d792b8c95e00ea55942dd5b Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Thu, 24 Oct 2024 07:44:06 -0400 Subject: [PATCH] Fix outdated versions in GitHub actions. --- .github/workflows/build-test.yml | 8 ++++---- .github/workflows/release.yml | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index ef36bdfe..6b1fdfe0 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -7,19 +7,19 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ '16', '14' ] + node: [ '18' ] name: Node ${{ matrix.node }} build steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-${{ matrix.node }}-npm-${{ hashFiles('**/package-lock.lock') }} restore-keys: | ${{ runner.os }}-npm- - name: Setup node - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - run: npm ci diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4c0ff49..8748bedc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,17 +9,17 @@ jobs: runs-on: ubuntu-latest name: Node build steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-${{ matrix.node }}-npm-${{ hashFiles('**/package-lock.lock') }} restore-keys: | ${{ runner.os }}-npm- - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '18.x' - run: npm ci - run: npm run build - run: npm run test @@ -29,17 +29,17 @@ jobs: runs-on: ubuntu-latest name: Release steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v3 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-${{ matrix.node }}-npm-${{ hashFiles('**/package-lock.lock') }} restore-keys: | ${{ runner.os }}-npm- - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '18.x' - name: Set tag id: tagName @@ -47,6 +47,6 @@ jobs: - run: npm ci - - uses: JS-DevTools/npm-publish@v1 + - uses: JS-DevTools/npm-publish@v3 with: token: ${{ secrets.NPM_TOKEN }}