Skip to content

Commit

Permalink
Merge pull request #39 from gentlementlegen/fix/yarn-classic
Browse files Browse the repository at this point in the history
fix: moved to yarn classic
  • Loading branch information
gentlementlegen authored Jul 31, 2024
2 parents 1b7ffb5 + 29aeec7 commit fa92481
Show file tree
Hide file tree
Showing 6 changed files with 6,975 additions and 10,037 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

# needed to use yarn v4
- name: Enable corepack
run: corepack enable

- name: Set up Node.js
uses: actions/setup-node@v4
with:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/jest-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ jobs:
permissions: write-all
runs-on: ubuntu-latest
steps:
# needed to use yarn v4
- name: Enable corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: "20.10.0"
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/knip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# needed to use yarn v4
- name: Enable corepack
run: corepack enable

- name: Setup Node
uses: actions/setup-node@v4
with:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
publish-package:
runs-on: ubuntu-latest
Expand All @@ -21,10 +25,6 @@ jobs:
with:
fetch-depth: 0

# needed to use yarn v4
- name: Enable corepack
run: corepack enable

- name: Install Node
uses: actions/setup-node@v4
with:
Expand All @@ -36,9 +36,10 @@ jobs:
yarn install --immutable --check-cache
yarn build
yarn pack
if: ${{ steps.release.outputs.release_created }}

- name: Publish
run: yarn npm publish --access public
run: yarn publish --access public
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,5 @@
"extends": [
"@commitlint/config-conventional"
]
},
"packageManager": "[email protected]"
}
}
Loading

0 comments on commit fa92481

Please sign in to comment.