-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #705 from pixiv/revert-704-revert-702-naporitan/us…
…e-pnpm
- Loading branch information
Showing
41 changed files
with
26,144 additions
and
32,164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,39 +23,42 @@ jobs: | |
contents: write | ||
id-token: write | ||
steps: | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT | ||
- name: Get pnpm store path | ||
id: pnpm-store-path | ||
run: echo "dir=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: setup pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: '10.4.0' | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: yarn | ||
cache: pnpm | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install node dependencies | ||
run: yarn install --immutable | ||
run: pnpm install --frozen-lockfile | ||
|
||
- name: Set git username and email | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "actions-user" | ||
- name: Set package version | ||
env: | ||
YARN_ENABLE_IMMUTABLE_INSTALLS: false | ||
run: yarn lerna version ${{ github.event.inputs.version }} --no-push --force-publish --yes | ||
run: pnpm lerna version ${{ github.event.inputs.version }} --no-push --force-publish --yes | ||
|
||
- name: git push version up commits | ||
run: | | ||
git push origin ${{ github.ref_name }} | ||
- name: Build & Publish to npmjs | ||
run: yarn release -y from-package --dist-tag ${{ github.event.inputs.release_tag }} | ||
run: pnpm release -y from-package --dist-tag ${{ github.event.inputs.release_tag }} | ||
env: | ||
NPM_CONFIG_PROVENANCE: true | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.