From 1759f19babd279208d7f1681a7750f6718d65fb2 Mon Sep 17 00:00:00 2001 From: Johann Schopplich Date: Mon, 6 Nov 2023 14:27:06 +0100 Subject: [PATCH] ci: update actions --- .github/workflows/ci.yml | 27 ++++++++++++--------------- .github/workflows/release.yml | 9 ++++----- 2 files changed, 16 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e9c983..c1973e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,13 +13,12 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - run: corepack enable + - uses: actions/setup-node@v4 with: node-version: 18 - - - run: corepack enable + cache: pnpm - name: Install run: pnpm i @@ -30,13 +29,12 @@ jobs: typecheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - run: corepack enable + - uses: actions/setup-node@v4 with: node-version: 18 - - - run: corepack enable + cache: pnpm - name: Install run: pnpm i @@ -54,13 +52,12 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - run: corepack enable + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} - - - run: corepack enable + cache: pnpm - name: Install run: pnpm i diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 593699b..7fd7625 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,16 +12,15 @@ jobs: contents: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - - uses: actions/setup-node@v3 + - run: corepack enable + - uses: actions/setup-node@v4 with: node-version: 18 registry-url: https://registry.npmjs.org/ - - - run: corepack enable + cache: pnpm - run: npx changelogithub env: