From 92a19d4c36f0dfb6366561117ee33152f4d21c30 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Tue, 14 Nov 2023 14:46:36 +0000 Subject: [PATCH] Use Node 18 for PR test (#316) Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/blog/pulls/316 Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Denys Konovalov Co-committed-by: Denys Konovalov --- .gitea/workflows/test-pr.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/test-pr.yml b/.gitea/workflows/test-pr.yml index db6b96b..5ca404e 100644 --- a/.gitea/workflows/test-pr.yml +++ b/.gitea/workflows/test-pr.yml @@ -1,17 +1,17 @@ -name: check-and-test - -on: - - pull_request - -jobs: - check-and-test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: https://github.com/actions/setup-node@v3 - with: - node-version: 16 - - name: Build - run: | - npm ci - npm run build +name: check-and-test + +on: + - pull_request + +jobs: + check-and-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Build + run: | + npm ci + npm run build