From d38f890ccf2aa3aceba85c06fbdb71b19415a3e4 Mon Sep 17 00:00:00 2001 From: Frederik Wallner Date: Tue, 12 Mar 2024 20:46:10 +0100 Subject: [PATCH] Setup node version in workflows --- .github/workflows/ci.yml | 2 ++ .github/workflows/draft-release.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f3dd8f1..747e2115 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 - run: npm install - run: npm run format-check - run: npm test @@ -33,6 +34,7 @@ jobs: swift: "5.6.3" steps: - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 - run: npm install - run: npm run build && npm run pack-source-map - uses: ./ diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index e07d68fa..6559846c 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -13,6 +13,9 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Setup Node + uses: actions/setup-node@v4 + - name: Update Release Draft id: release_draft uses: release-drafter/release-drafter@v5