Skip to content

Commit e47d395

Browse files
committed
build: use npm instead of yaml
1 parent 7f82ac3 commit e47d395

File tree

4 files changed

+21513
-11669
lines changed

4 files changed

+21513
-11669
lines changed

.github/workflows/ci.js.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,31 @@
44
name: CSV Docs CI
55
on:
66
push:
7-
branches: [ master ]
7+
branches: [master]
88
pull_request:
9-
branches: [ master ]
9+
branches: [master]
1010
jobs:
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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ The repository contains the source code generating the website of the [Node.js C
77
To 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

1414
To fetch the latest source code of the project:

0 commit comments

Comments
 (0)