Skip to content

Commit

Permalink
fix: enable corepack for knip and fixed release-please.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Jul 16, 2024
1 parent e1043b1 commit 292a6e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/knip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
with:
node-version: 20.10.0

- name: Enable corepack
run: corepack enable

- name: Install toolchain
run: yarn install

Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- $default-branch
- main

permissions:
contents: write
Expand All @@ -14,13 +14,7 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
- uses: googleapis/release-please-action@v4
with:
release-type: node
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: "20.10.0"
registry-url: https://registry.npmjs.org/
- run: |
yarn install --immutable --immutable-cache --check-cache
release-type: simple
target-branch: main

0 comments on commit 292a6e7

Please sign in to comment.