From d448bfdf28eb1032af556c61227a53905d436116 Mon Sep 17 00:00:00 2001 From: Roman Dvornov Date: Thu, 5 Sep 2024 16:38:13 +0200 Subject: [PATCH] Update GitHub actions --- .github/workflows/gh-pages.yml | 2 +- .github/workflows/main.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 90add161..35885f94 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -19,7 +19,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v1 with: - node-version: '14.x' + node-version: '20.x' - run: npm ci - run: npm run build-gh-pages - name: Deploy diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 67474a83..c9479f3d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: '20.x' + + - run: npm ci - run: npm run transpile - name: Cypress run