-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1192833
commit bff1ed6
Showing
3 changed files
with
7 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,34 +10,14 @@ jobs: | |
|
||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
# Read the pnpm version from the `.pnpmrc` file | ||
- name: Read .pnpmrc | ||
id: pnpm_version | ||
uses: juliangruber/read-file-action@v1 | ||
with: | ||
path: ./.pnpmrc | ||
|
||
- name: Cache PNPM modules | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.pnpm-store | ||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: ${{ runner.os }}- | ||
|
||
- uses: pnpm/[email protected] | ||
with: | ||
version: '${{ steps.pnpm_version.outputs.content }}' | ||
|
||
# Read node version from `.nvmrc` file | ||
- id: nvmrc | ||
uses: browniebroke/read-nvmrc-action@v1 | ||
# setups pnpm | ||
- uses: pnpm/action-setup@v4 | ||
|
||
- uses: actions/setup-node@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
# use the output from the action | ||
node-version: '${{ steps.nvmrc.outputs.node_version }}' | ||
node-version: 22 | ||
|
||
- name: Install `node_modules` | ||
run: pnpm install | ||
|
@@ -49,7 +29,7 @@ jobs: | |
run: pnpm build | ||
|
||
- name: Deploy | ||
uses: JamesIves/github-pages-deploy-action@v4.3.3 | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
branch: gh-pages | ||
folder: dist |
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 |
---|---|---|
|
@@ -9,10 +9,7 @@ | |
"name": "Daniel Turcich", | ||
"url": "https://danielTurcich.com" | ||
}, | ||
"engines": { | ||
"pnpm": ">=9.10.0" | ||
}, | ||
"engineStrict": true, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"dev": "vite", | ||
"dev:network": "vite --host", | ||
|