Skip to content

Commit 0169f48

Browse files
committed
switching from yarn for more check this actions/setup-node#182
1 parent fbd3ea9 commit 0169f48

File tree

3 files changed

+27615
-11256
lines changed

3 files changed

+27615
-11256
lines changed

.github/workflows/deploy.yml

+16-18
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,32 @@ name: Node.js CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
7-
branches: [ master ]
7+
branches: [master]
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
1312

1413
strategy:
1514
matrix:
1615
node-version: [16.x]
1716

1817
steps:
19-
- uses: actions/checkout@v2
20-
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v2
22-
with:
23-
node-version: ${{ matrix.node-version }}
24-
cache: 'npm'
25-
- run: npm ci
26-
- run: npm run build --if-present
27-
- run: npm run export
28-
- run: touch ./out/.nojekyll
18+
- uses: actions/checkout@v2
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v2
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
cache: "npm"
24+
- run: npm ci
25+
- run: npm run build --if-present
26+
- run: npm run export
27+
- run: touch ./out/.nojekyll
2928

30-
- name: Deployed On GHpages yay!! 🚀
31-
uses: JamesIves/github-pages-deploy-action@4.1.5
32-
with:
29+
- name: Deployed On GHpages yay!! 🚀
30+
uses: JamesIves/github-pages-deploy-action@4.1.5
31+
with:
3332
branch: gh-pages
34-
folder: outt
35-
33+
folder: out

0 commit comments

Comments
 (0)