Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: moved to yarn classic #39

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct to change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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