From 34b4396de534e4f5cf4b5cac80afd14a8322ce1f Mon Sep 17 00:00:00 2001 From: Hamir Mahal Date: Tue, 21 May 2024 15:14:47 -0700 Subject: [PATCH] fix: actions using `node12 which is deprecated` (#425) * chore: changes from formatting on save * fix: actions using `node12 which is deprecated` --- .github/workflows/tests.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 31ff22f8..8332c2cb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,13 +2,12 @@ name: Tests on: push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] + branches: [master] jobs: build: - runs-on: ubuntu-latest strategy: @@ -16,10 +15,10 @@ jobs: node-version: [16.x, 18.x, 20.x] steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - run: npm ci - - run: npm test + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm test