From 85309bf1538d82614a3ccd354f55a7b0258ce5ee Mon Sep 17 00:00:00 2001 From: Luke Morales Date: Fri, 9 Feb 2024 11:51:41 -0300 Subject: [PATCH] ci: upgrade actions to latest --- .github/workflows/ci.yml | 42 +++++++++++++++++------------------ .github/workflows/release.yml | 40 ++++++++++++++++----------------- .github/workflows/tests.yml | 30 ++++++++++++------------- 3 files changed, 56 insertions(+), 56 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49d80db..3f5bb36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,15 +16,15 @@ jobs: name: 📦 Install dependencies steps: - name: 🔑 Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🔧 Install PNPM - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 7 - name: ♻️ Cache node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 id: pnpm-cache with: path: "**/node_modules" @@ -33,9 +33,9 @@ jobs: ${{ runner.os }}-node- - name: 🛠️ Setup Node and install project dependencies - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '18' check-latest: true cache: 'pnpm' @@ -48,30 +48,30 @@ jobs: needs: install-deps steps: - name: 🔑 Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🔧 Install PNPM - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 7 - name: ♻️ Restore node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "**/node_modules" key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} - name: ♻️ Restore ESLint Cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: eslint-cache with: path: .eslintcache key: ${{ matrix.os }}-eslint-${{ hashFiles('**/*.ts', 'package.json', 'tsconfig.json') }} - name: 🛠️ Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '18' check-latest: true cache: 'pnpm' @@ -88,23 +88,23 @@ jobs: needs: install-deps steps: - name: 🔑 Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🔧 Install PNPM - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 7 - name: ♻️ Restore node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "**/node_modules" key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} - name: 🛠️ Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '18' check-latest: true cache: 'pnpm' @@ -121,23 +121,23 @@ jobs: needs: install-deps steps: - name: 🔑 Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🔧 Install PNPM - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 7 - name: ♻️ Load node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "**/node_modules" key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} - name: 🛠️ Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '18' check-latest: true cache: 'pnpm' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ee22f6..9bbe211 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,15 +21,15 @@ jobs: runs-on: ubuntu-latest steps: - name: 🔑 Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🔧 Install PNPM - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 7 - name: ♻️ Cache node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 id: pnpm-cache with: path: "**/node_modules" @@ -38,9 +38,9 @@ jobs: ${{ runner.os }}-node- - name: 🛠️ Setup Node and install project dependencies - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '18' check-latest: true cache: 'pnpm' @@ -53,17 +53,17 @@ jobs: needs: install-deps steps: - name: 🔑 Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🔧 Install PNPM - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 7 - name: 🛠️ Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '18' check-latest: true cache: 'pnpm' @@ -89,31 +89,31 @@ jobs: published: ${{ steps.changesets.outputs.published }} steps: - name: 🔑 Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: 🔧 Install PNPM - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 7 - name: ♻️ Load node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "**/node_modules" key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} - name: ♻️ Load build files - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "**/dist" key: ${{ runner.os }}-build-${{ hashFiles('**/pnpm-lock.yaml') }} - name: 🛠️ Setup Node for NPM - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16.14.2' + node-version: '18' check-latest: true cache: 'pnpm' registry-url: 'https://registry.npmjs.org' @@ -147,23 +147,23 @@ jobs: packages: write steps: - name: 🔑 Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🔧 Install PNPM - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 7 - name: ♻️ Load node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "**/node_modules" key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} - name: 🛠️ Setup Node for GPR - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16.14.2' + node-version: '18' check-latest: true cache: 'pnpm' registry-url: 'https://npm.pkg.github.com' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b0e75a6..06559ec 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,15 +11,15 @@ jobs: name: 📦 Install dependencies steps: - name: 🔑 Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🔧 Install PNPM - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 7 - name: ♻️ Cache node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 id: pnpm-cache with: path: "**/node_modules" @@ -28,9 +28,9 @@ jobs: ${{ runner.os }}-node- - name: 🛠️ Setup Node and install project dependencies - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '18' check-latest: true cache: 'pnpm' @@ -43,23 +43,23 @@ jobs: needs: install-deps steps: - name: 🔑 Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🔧 Install PNPM - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 7 - name: ♻️ Load node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "**/node_modules" key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} - name: 🛠️ Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '18' check-latest: true cache: 'pnpm' @@ -76,23 +76,23 @@ jobs: needs: install-deps steps: - name: 🔑 Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 🔧 Install PNPM - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 with: version: 7 - name: ♻️ Load node_modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "**/node_modules" key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} - name: 🛠️ Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '14' + node-version: '18' check-latest: true cache: 'pnpm'