Skip to content

Commit

Permalink
ci: upgrade actions to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemorales committed Feb 9, 2024
1 parent c3d1ca2 commit 85309bf
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 56 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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'

Expand All @@ -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'

Expand All @@ -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'

Expand All @@ -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'

Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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'

Expand All @@ -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'

Expand All @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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'

Expand All @@ -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'

Expand All @@ -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'

Expand Down

0 comments on commit 85309bf

Please sign in to comment.