-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Add brace expansion shell option to workflows
- Loading branch information
Showing
2 changed files
with
18 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,9 @@ jobs: | |
node-version: 20 | ||
|
||
- name: Install pnpm | ||
# uses: pnpm/[email protected] | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8 | ||
version: latest | ||
run_install: false | ||
|
||
- name: Get pnpm store directory | ||
|
@@ -40,13 +39,15 @@ jobs: | |
${{ runner.os }}-pnpm-store- | ||
- name: Install dependencies | ||
run: pnpm install --frozen-lockfile | ||
run: pnpm i --frozen-lockfile | ||
|
||
- name: Build | ||
env: | ||
BASE_PATH: '/${{ github.event.repository.name }}' | ||
run: | | ||
pnpm build | ||
set -o braceexpand | ||
npm config set script-shell bash | ||
pnpm run build | ||
- name: Fix permissions | ||
run: | | ||
chmod -c -R +rX ./dist | while read line; do | ||
|