Skip to content

Commit 78129d6

Browse files
committed
update workflow
1 parent c220e35 commit 78129d6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
- uses: actions/setup-node@v3
2020
with:
2121
node-version: 18
22-
cache: yarn
22+
cache: npm
2323

2424
- name: Install dependencies
25-
run: yarn install --frozen-lockfile
25+
run: npm ci
2626
- name: Build website
27-
run: yarn build
27+
run: npm run build
2828

2929
# Popular action to deploy to GitHub Pages:
3030
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus

.github/workflows/test-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
- uses: actions/setup-node@v3
1717
with:
1818
node-version: 18
19-
cache: yarn
19+
cache: npm
2020

2121
- name: Install dependencies
22-
run: yarn install --frozen-lockfile
23-
- name: Test build website
24-
run: yarn build
22+
run: npm ci
23+
- name: Build website
24+
run: npm run build

0 commit comments

Comments
 (0)