File tree Expand file tree Collapse file tree 4 files changed +21513
-11669
lines changed
Expand file tree Collapse file tree 4 files changed +21513
-11669
lines changed Original file line number Diff line number Diff line change 44name : CSV Docs CI
55on :
66 push :
7- branches : [ master ]
7+ branches : [master]
88 pull_request :
9- branches : [ master ]
9+ branches : [master]
1010jobs :
1111 www :
1212 runs-on : ubuntu-latest
1313 strategy :
1414 matrix :
1515 node-version : [18.x]
1616 steps :
17- - name : Checkout repository
18- uses : actions/checkout@v3
19- with :
20- submodules : recursive
21- - name : Use Node.js ${{ matrix.node-version }}
22- uses : actions/setup-node@v3
23- with :
24- node-version : ${{ matrix.node-version }}
25- - run : yarn install --frozen-lockfile
26- - run : npx gatsby build
27- - run : echo 'csv.js.org' > public/CNAME
28- - name : Deploy
29- uses : JamesIves/github-pages-deploy-action@v4
30- with :
31- token : ${{ secrets.GITHUB_TOKEN }}
32- branch : gh-pages # The branch the action should deploy to.
33- folder : public # The folder the action should deploy.
34- clean : true # Automatically remove deleted files from the deploy branch
17+ - name : Checkout repository
18+ uses : actions/checkout@v3
19+ with :
20+ submodules : recursive
21+ - name : Use Node.js ${{ matrix.node-version }}
22+ uses : actions/setup-node@v3
23+ with :
24+ node-version : ${{ matrix.node-version }}
25+ - run : npm ci
26+ - run : npx gatsby build
27+ - run : echo 'csv.js.org' > public/CNAME
28+ - name : Deploy
29+ uses : JamesIves/github-pages-deploy-action@v4
30+ with :
31+ token : ${{ secrets.GITHUB_TOKEN }}
32+ branch : gh-pages # The branch the action should deploy to.
33+ folder : public # The folder the action should deploy.
34+ clean : true # Automatically remove deleted files from the deploy branch
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ The repository contains the source code generating the website of the [Node.js C
77To start a local instance of the website with yarn:
88
99``` bash
10- yarn install
11- yarn run develop
10+ npm install
11+ npm run develop
1212```
1313
1414To fetch the latest source code of the project:
You can’t perform that action at this time.
0 commit comments