File tree Expand file tree Collapse file tree 1 file changed +18
-19
lines changed Expand file tree Collapse file tree 1 file changed +18
-19
lines changed Original file line number Diff line number Diff line change @@ -5,34 +5,33 @@ name: Node.js CI
55
66on :
77 push :
8- branches : [ main ]
8+ branches : [main]
99 pull_request :
10- branches : [ main ]
10+ branches : [main]
1111
1212jobs :
1313 build :
14-
1514 runs-on : ubuntu-latest
1615
1716 strategy :
1817 matrix :
19- node-version : [12.x, 14.x, 16.x]
18+ node-version : [14.x, 16.x]
2019 # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2120
2221 steps :
23- - uses : actions/checkout@v2
24- - name : Use Node.js ${{ matrix.node-version }}
25- uses : actions/setup-node@v2
26- with :
27- node-version : ${{ matrix.node-version }}
28- cache : ' npm'
29- - run : npm ci
30- - run : npm run build
31- - run : npm run export
22+ - uses : actions/checkout@v2
23+ - name : Use Node.js ${{ matrix.node-version }}
24+ uses : actions/setup-node@v2
25+ with :
26+ node-version : ${{ matrix.node-version }}
27+ cache : ' npm'
28+ - run : npm ci
29+ - run : npm run build
30+ - run : npm run export
3231
33- - name : Deploy 🚀
34- uses : JamesIves/github-pages-deploy-action@3.5.9
35- with :
36- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37- BRANCH : gh-pages
38- FOLDER : out # nextjs static output is in out folder
32+ - name : Deploy 🚀
33+ uses : JamesIves/github-pages-deploy-action@v4.2.5
34+ with :
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+ BRANCH : gh-pages
37+ FOLDER : out # nextjs static output is in out folder
You can’t perform that action at this time.
0 commit comments