Skip to content

Commit

Permalink
fix: ci (#48)
Browse files Browse the repository at this point in the history
* chore: update deps

* fix: ci
  • Loading branch information
Innei authored Nov 10, 2023
1 parent 66b6ce9 commit 20ad346
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ jobs:

strategy:
matrix:
node-version: [14.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn build
- uses: pnpm/[email protected]
with:
version: 8.x.x
run_install: true
- run: npm run build
env:
CI: true
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn build
- uses: pnpm/[email protected]
with:
version: 8.x.x
run_install: true
- run: npm run build
- run: echo 'shizuri.net' > dist/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 20ad346

Please sign in to comment.