Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

ci: update release action #71

Merged
merged 1 commit into from
Jan 11, 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
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ jobs:
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: |
yarn plugin import version
yarn install --frozen-lockfile
- run: yarn install --immutable
- name: Bump package.json version
run: |
git config --global user.email "[email protected]"
git config --global user.name "Github Action"
git tag --delete ${{github.ref_name}}
git push --delete origin ${{github.ref_name}}
git checkout -b tmp
yarn version --new-version `echo -n ${{github.ref_name}} | tr -d "v"` --no-commit-hooks
yarn version --immediate `echo -n ${{github.ref_name}} | tr -d "v"`
git add .
git commit -m "${{github.ref_name}}" --no-verify
git push origin tmp:main
git push origin ${{github.ref_name}}
- run: yarn npm publish --access public
Expand Down
550 changes: 550 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-version.cjs

Large diffs are not rendered by default.

Empty file added .yarn/versions/6e9a633f.yml
Empty file.
4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"

yarnPath: .yarn/releases/yarn-3.5.0.cjs