From 18dfe4be638b2311972e1f33099ea93ca371343e Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Sun, 19 May 2024 16:59:37 +0300 Subject: [PATCH] ci: update gh actions --- .github/workflows/dev-publish.yaml | 6 +++--- .github/workflows/test.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dev-publish.yaml b/.github/workflows/dev-publish.yaml index 7f7204e..3ba2637 100644 --- a/.github/workflows/dev-publish.yaml +++ b/.github/workflows/dev-publish.yaml @@ -9,10 +9,10 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 registry-url: 'https://registry.npmjs.org' - run: npm i - run: npm run build diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b183c53..8dd000c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [ 16, 18 ] + node-version: [ 20 ] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm i