From 345928b75796e881f6e1d8487e2d09aed9f4c121 Mon Sep 17 00:00:00 2001 From: Quentin Roy Date: Thu, 25 Jan 2024 16:51:48 +0100 Subject: [PATCH] chore: update github actions (#219) --- .github/workflows/node.js.yaml | 30 +++++++++++++++--------------- .github/workflows/release.yaml | 6 +++--- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/node.js.yaml b/.github/workflows/node.js.yaml index 833fd81e..4cc4103a 100644 --- a/.github/workflows/node.js.yaml +++ b/.github/workflows/node.js.yaml @@ -13,9 +13,9 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node.js 20.x.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.x.x - name: Install pnpm @@ -27,7 +27,7 @@ jobs: shell: bash run: | echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm cache with: path: ${{ env.STORE_PATH }} @@ -36,7 +36,7 @@ jobs: ${{ runner.os }}-pnpm-store- - run: pnpm install --frozen-lockfile - run: pnpm run build-all - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: 'build' path: 'packages/*/dist/' @@ -45,9 +45,9 @@ jobs: needs: ['build'] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node.js 20.x.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.x.x - name: Install pnpm @@ -59,7 +59,7 @@ jobs: shell: bash run: | echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm cache with: path: ${{ env.STORE_PATH }} @@ -67,7 +67,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - run: pnpm install --frozen-lockfile - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 id: download with: name: 'build' @@ -77,9 +77,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node.js 20.x.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.x.x - name: Install pnpm @@ -91,7 +91,7 @@ jobs: shell: bash run: | echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm cache with: path: ${{ env.STORE_PATH }} @@ -105,9 +105,9 @@ jobs: needs: ['build'] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node.js 20.x.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.x.x - name: Install pnpm @@ -119,7 +119,7 @@ jobs: shell: bash run: | echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm cache with: path: ${{ env.STORE_PATH }} @@ -127,7 +127,7 @@ jobs: restore-keys: | ${{ runner.os }}-pnpm-store- - run: pnpm install --frozen-lockfile - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 id: download with: name: 'build' diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 479a441d..e69360c8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,10 +12,10 @@ jobs: name: Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Node.js 20.x.x - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.x.x @@ -29,7 +29,7 @@ jobs: run: | echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm cache with: path: ${{ env.STORE_PATH }}