Skip to content

Commit

Permalink
Merge branch 'releases/v1'
Browse files Browse the repository at this point in the history
  • Loading branch information
leoliu0605 committed Apr 16, 2024
2 parents 44e58be + 90caa81 commit a0138c1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
node-version: 18
- run: |
npm install -g pnpm
npm install -g pnpm@8.15.7
pnpm install
- run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PAT }}
- run: |
git config user.name "GitHub Actions"
git config user.email "action@github.com"
Expand All @@ -25,7 +25,7 @@ jobs:
with:
node-version: 18
- run: |
npm install -g pnpm
npm install -g pnpm@8.15.7
pnpm install
- run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm install -g pnpm
npm install -g pnpm@8.15.7
pnpm install
- name: Run tests (Linux)
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Open `powershell` and run the following command. This will start setting up your

<!-- WINDOWS_LINK_X64_START -->
```shell
powershell.exe -Command "Invoke-WebRequest -Uri https://github.com/leoli0605/npm-env-setup/releases/download/v1.0.2/env-setup-win-x64.exe -OutFile env-setup-win-x64.exe; Start-Process env-setup-win-x64.exe -Wait; Remove-Item env-setup-win-x64.exe -Force"
powershell.exe -Command "Invoke-WebRequest -Uri https://github.com/leoli0605/npm-env-setup/releases/download/v1.1.0/env-setup-win-x64.exe -OutFile env-setup-win-x64.exe; Start-Process env-setup-win-x64.exe -Wait; Remove-Item env-setup-win-x64.exe -Force"
```
<!-- WINDOWS_LINK_X64_END -->

Expand All @@ -47,15 +47,15 @@ For Mac users, the process is just as simple. Depending on the type of chip your

<!-- MACOS_LINK_X64_START -->
```shell
curl -L https://github.com/leoli0605/npm-env-setup/releases/download/v1.0.2/env-setup-macos-x64 -o env-setup-macos-x64 && chmod +x env-setup-macos-x64 && ./env-setup-macos-x64 && rm -f env-setup-macos-x64
curl -L https://github.com/leoli0605/npm-env-setup/releases/download/v1.1.0/env-setup-macos-x64 -o env-setup-macos-x64 && chmod +x env-setup-macos-x64 && ./env-setup-macos-x64 && rm -f env-setup-macos-x64
```
<!-- MACOS_LINK_X64_END -->

- If you have a newer Mac model with Apple's own chip (like the M1 or M2, found in Macs from late 2020 onwards):

<!-- MACOS_LINK_ARM64_START -->
```shell
curl -L https://github.com/leoli0605/npm-env-setup/releases/download/v1.0.2/env-setup-macos-arm64 -o env-setup-macos-arm64 && chmod +x env-setup-macos-arm64 && ./env-setup-macos-arm64 && rm -f env-setup-macos-arm64
curl -L https://github.com/leoli0605/npm-env-setup/releases/download/v1.1.0/env-setup-macos-arm64 -o env-setup-macos-arm64 && chmod +x env-setup-macos-arm64 && ./env-setup-macos-arm64 && rm -f env-setup-macos-arm64
```
<!-- MACOS_LINK_ARM64_END -->

Expand All @@ -65,7 +65,7 @@ For Linux users running Ubuntu 18.04 LTS or newer versions, execute the followin

<!-- LINUX_LINK_X64_START -->
```shell
curl -L https://github.com/leoli0605/npm-env-setup/releases/download/v1.0.2/env-setup-linux-x64 -o env-setup-linux-x64 && chmod +x env-setup-linux-x64 && ./env-setup-linux-x64 && rm -f env-setup-linux-x64
curl -L https://github.com/leoli0605/npm-env-setup/releases/download/v1.1.0/env-setup-linux-x64 -o env-setup-linux-x64 && chmod +x env-setup-linux-x64 && ./env-setup-linux-x64 && rm -f env-setup-linux-x64
```
<!-- LINUX_LINK_X64_END -->

Expand Down

0 comments on commit a0138c1

Please sign in to comment.