From eaf2555097c838cc4144bc0983ea1788de34eedd Mon Sep 17 00:00:00 2001 From: Sven Ehrke Date: Thu, 4 Jul 2024 14:33:59 +0200 Subject: [PATCH] fix action scripts --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0f1424..39d2505 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 18 uses: actions/setup-node@v4 with: node-version: 18 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 944fbe2..aa59d8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,12 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@main - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: 18 + - uses: actions/checkout@v4 + - name: Use Node.js 18 + uses: actions/setup-node@v4 + with: + node-version: 18 - run: npm ci - run: npm run build --if-present - run: npm test --if-present