Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maplestarplayl authored Apr 6, 2024
1 parent 33f5031 commit 534ad70
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,17 @@ jobs:
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install rsync
run: sudo apt-get install rsync -y

- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 8
run_install: true

- name: pnpm i
run: pnpm i

- name: Set Debug Environment Variable
run: echo "ACTIONS_RUNNER_DEBUG=true" >> $GITHUB_ENV

- name: build
run: npx craco build

- name: Install npm dependencies
run: npm install
- name: Run build task
run: set process.env.CI=false && npx craco build

- name: Deploy to Server
uses: easingthemes/[email protected]
Expand Down

0 comments on commit 534ad70

Please sign in to comment.