Skip to content

Commit

Permalink
chore: Bump PNPM vers for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kiosion committed Oct 14, 2024
1 parent 1977347 commit 8e4cd4e
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 30 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/netlify-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
name: Install pnpm
id: pnpm-install
with:
version: 9.1.0
version: 9.8.0
run_install: false
- name: Use node_modules cache
uses: actions/cache@v4
id: nm-cache
with:
path: 'svelte-app/node_modules'
path: "svelte-app/node_modules"
key: ${{ runner.os }}-npm-${{ hashFiles('svelte-app/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-nm-16-
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: CI - Sanity

on:
push:
branches: [ "main" ]
branches: ["main"]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '**/.husky'
- 'svelte-app/**'
- 'express-api/**'
- 'elixir-api/**'
- "**/*.md"
- "LICENSE"
- "**/.husky"
- "svelte-app/**"
- "express-api/**"
- "elixir-api/**"

concurrency:
concurrency:
group: sanity
cancel-in-progress: true

Expand All @@ -30,13 +30,13 @@ jobs:
name: Install pnpm
id: pnpm-install
with:
version: 9.1.0
version: 9.8.0
run_install: false
- name: Use node_modules cache
uses: actions/cache@v4
id: nm-cache
with:
path: 'sanity-cms/node_modules'
path: "sanity-cms/node_modules"
key: ${{ runner.os }}-npm-${{ hashFiles('sanity-cms/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-npm-
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/svelte.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: CI

on:
push:
branches: [ "main" ]
branches: ["main"]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '**/.husky'
- 'sanity-cms/**'
- 'express-api/**'
- 'rust-api/**'
- 'elixir-api/**'
- "**/*.md"
- "LICENSE"
- "**/.husky"
- "sanity-cms/**"
- "express-api/**"
- "rust-api/**"
- "elixir-api/**"

concurrency:
concurrency:
group: ci
cancel-in-progress: true

Expand All @@ -31,13 +31,13 @@ jobs:
name: Install pnpm
id: pnpm-install
with:
version: 9.1.0
version: 9.8.0
run_install: false
- name: Use node_modules cache
uses: actions/cache@v4
id: nm-cache
with:
path: 'svelte-app/node_modules'
path: "svelte-app/node_modules"
key: ${{ runner.os }}-npm-${{ hashFiles('svelte-app/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-npm-
Expand All @@ -52,6 +52,6 @@ jobs:
secrets: inherit
deploy:
name: Deploy
needs: [ lint, tests ]
needs: [lint, tests]
uses: ./.github/workflows/netlify-deploy.yml
secrets: inherit
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Tests

on:
pull_request:
branches: [ "main" ]
branches: ["main"]
workflow_call:

concurrency:
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true

Expand All @@ -23,13 +23,13 @@ jobs:
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9.1.0
version: 9.8.0
run_install: false
- name: Use node_modules cache
uses: actions/cache@v4
id: nm-cache
with:
path: 'svelte-app/node_modules'
path: "svelte-app/node_modules"
key: ${{ runner.os }}-npm-${{ hashFiles('svelte-app/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-npm-
Expand All @@ -52,13 +52,13 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.1.0
version: 9.8.0
run_install: false
- name: Use node_modules cache
uses: actions/cache@v4
id: nm-cache
with:
path: 'svelte-app/node_modules'
path: "svelte-app/node_modules"
key: ${{ runner.os }}-npm-${{ hashFiles('svelte-app/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-npm-
Expand Down

0 comments on commit 8e4cd4e

Please sign in to comment.