Skip to content

Commit

Permalink
chore: use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDog896 committed Jul 23, 2024
1 parent b403a42 commit bf98eab
Show file tree
Hide file tree
Showing 3 changed files with 2,204 additions and 1,653 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,31 @@ concurrency:

jobs:
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
node-version: '16.x'
version: 8
- name: Install dependencies
run: yarn install
run: pnpm install
- name: Build page
run: yarn build
gh-release:
run: pnpm run build
- name: Upload built project output
uses: actions/upload-artifact@v3
with:
name: build
path: build
pages:
needs: checks
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Install Dependencies
run: yarn install
- name: Build Project
run: yarn build
- name: Download Artifacts
uses: actions/download-artifact@v3
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
Expand Down
Loading

0 comments on commit bf98eab

Please sign in to comment.