Skip to content

Commit

Permalink
bump pnpm workflow v4 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
magnuslundstrom authored Jul 4, 2024
1 parent dab9302 commit 673c9e1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/delegated-module-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
fetch-depth: 0
- name: Install PNPM
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v4
with:
version: 8
- name: Setup Node.js
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/library-changesets-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ jobs:
with:
fetch-depth: 0
- name: Install PNPM
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v4
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
version: pnpm run version
title: "ci(root): release versions"
commit: "ci(root): release versions"
title: 'ci(root): release versions'
commit: 'ci(root): release versions'
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.gh_token }}
16 changes: 8 additions & 8 deletions .github/workflows/library-lint-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ on:
inputs:
node-version:
type: string
default: "18"
default: '18'
jobs:
build_packages:
timeout-minutes: 10
name: Build npm package
runs-on: "ubuntu-latest"
runs-on: 'ubuntu-latest'
env:
TURBO_TOKEN: ${{ secrets.turbo_token }}
TURBO_TEAM: ${{ secrets.turbo_team }}
Expand All @@ -28,15 +28,15 @@ jobs:
fetch-depth: 2

- name: Install PNPM
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v4
with:
version: 8

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: "pnpm"
cache: 'pnpm'

- name: Install dependencies
run: pnpm install
Expand All @@ -46,7 +46,7 @@ jobs:
test:
timeout-minutes: 10
name: Lint and Test
runs-on: "ubuntu-latest"
runs-on: 'ubuntu-latest'
env:
TURBO_TOKEN: ${{ secrets.turbo_token }}
TURBO_TEAM: ${{ secrets.turbo_team }}
Expand All @@ -59,15 +59,15 @@ jobs:
fetch-depth: 2

- name: Install PNPM
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v4
with:
version: 8

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: "pnpm"
cache: 'pnpm'

- name: Install dependencies
run: pnpm install
Expand All @@ -84,7 +84,7 @@ jobs:
uses: ataylorme/eslint-annotate-action@1.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
report-json: "./eslint-reports/eslint_report.json"
report-json: './eslint-reports/eslint_report.json'
continue-on-error: true

- name: Upload ESLint report
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/library-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
uses: actions/checkout@v4

- name: Add PNPM
uses: pnpm/action-setup@v2.2.2
uses: pnpm/action-setup@v4
with:
version: 8

- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"
cache: 'pnpm'

- name: Install packages
run: pnpm install
Expand Down Expand Up @@ -68,5 +68,5 @@ jobs:
commit-message: ${{ inputs.title }}
title: ${{ inputs.title }}
branch: ${{ inputs.branch }}
base: "main"
base: 'main'
delete-branch: true

0 comments on commit 673c9e1

Please sign in to comment.