diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1ab8742..82fe006 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,7 +5,7 @@ "ghcr.io/devcontainers/features/github-cli:1": {}, "ghcr.io/devcontainers/features/node:2": { "version": "24", - "pnpmVersion": "10.34.5" + "pnpmVersion": "12" } }, "customizations": { diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index b7fa791..e752585 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -10,14 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - - uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0 + - uses: pnpm/setup@v3.1.2 with: cache: true - - uses: actions/setup-node@v7 - with: - node-version-file: "package.json" - cache: pnpm - - run: pnpm install - run: pnpm run fmt:check - run: pnpm run lint test: @@ -29,12 +24,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - - uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0 + - uses: pnpm/setup@v3.1.2 with: cache: true - - uses: actions/setup-node@v7 - with: - node-version: ${{ matrix.node-version }} - cache: pnpm - - run: pnpm install + runtime: node@${{ matrix.node-version }} - run: pnpm run test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a6653e4..f5080b0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,11 +1,10 @@ name: Publish to npm registry - on: release: types: [published] permissions: - id-token: write # Required for OIDC + id-token: write contents: read jobs: @@ -16,15 +15,7 @@ jobs: - uses: actions/checkout@v7 with: ref: refs/tags/${{ github.event.release.tag_name }} - - uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0 + - uses: pnpm/setup@v3.1.2 with: cache: true - - uses: actions/setup-node@v7 - with: - node-version-file: "package.json" - cache: pnpm - registry-url: https://registry.npmjs.org - - name: Install dependencies - run: pnpm install - - name: Publish to npm registry - run: pnpm publish --no-git-checks + - run: pnpm publish --no-git-checks diff --git a/mise.toml b/mise.toml index 26369d8..b279eac 100644 --- a/mise.toml +++ b/mise.toml @@ -1,3 +1,3 @@ [tools] node = "24" -pnpm = "10.34.5" +pnpm = "12" diff --git a/package.json b/package.json index 99ec4c9..88ef2aa 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "devEngines": { "packageManager": { "name": "pnpm", - "version": "10.34.5" + "version": "12" }, "runtime": { "name": "node", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index cab22f8..97b0945 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,3 +2,4 @@ minimumReleaseAge: 4320 minimumReleaseAgeExclude: - "@takeyaqa/pict-wasm" trustPolicy: no-downgrade +pmOnFail: ignore