Skip to content

Commit 21a56f4

Browse files
authored
Update deploy.yml
1 parent 36f53ac commit 21a56f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ jobs:
1616

1717
- name: Setup Node
1818
uses: actions/setup-node@v3
19-
20-
- name: Install yarn
21-
run: npm install yarn
19+
with:
20+
node-version: '22'
2221

2322
- name: Install dependencies
24-
run: yarn
23+
uses: bahmutov/npm-install@v1
2524

2625
- name: Build project
2726
run: npm run build
@@ -32,7 +31,7 @@ jobs:
3231
name: production-files
3332
path: ./dist
3433

35-
deploy:
34+
deploy_gh_page:
3635
name: Deploy
3736
needs: build
3837
runs-on: ubuntu-latest
@@ -50,3 +49,4 @@ jobs:
5049
with:
5150
github_token: ${{ secrets.GITHUB_TOKEN }}
5251
publish_dir: ./dist
52+

0 commit comments

Comments
 (0)