Skip to content

Commit 8436b63

Browse files
committed
Use npm instead of yarn
1 parent 8fe4682 commit 8436b63

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
ref: gh-pages
2626
path: gh-pages
2727

28-
- run: yarn
28+
- run: npm install
2929

3030
- name: Set TAG env to devel
3131
if: startsWith( github.event.ref, 'refs/heads/' )
@@ -65,13 +65,13 @@ jobs:
6565
- name: Rebuild docs for tag
6666
if: env.TAG != 'devel'
6767
run: |
68-
yarn typedoc --includeVersion --out gh-pages/${TAG}
68+
./node_modules/.bin/typedoc --includeVersion --out gh-pages/${TAG}
6969
node -p 'var all=fs.readdirSync("gh-pages",{withFileTypes:true}).flatMap(f=>f.isDirectory()&&!isNaN(f.name.charAt(0))?[f.name]:[]).sort(require("semver").rcompare);JSON.stringify({all,stable:all.filter(s=>!s.includes("-"))})' > gh-pages/_data/versions.json
7070
7171
- name: Rebuild docs for devel
7272
if: env.TAG == 'devel'
7373
run: |
74-
yarn typedoc --out gh-pages/${TAG}
74+
./node_modules/.bin/typedoc --out gh-pages/${TAG}
7575
7676
- name: Commit to gh-pages
7777
uses: EndBug/add-and-commit@v4

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222

2323
steps:
2424
- uses: actions/checkout@v2
25-
- run: yarn
26-
- run: yarn test
25+
- run: npm install
26+
- run: npm test
2727
env:
2828
TEST_ARANGODB_URL: http://arangodb:8529
2929
CI: true

.github/workflows/web.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v2
24-
- run: yarn
24+
- run: npm install
2525
- run: node smoke-test.js

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@
5050
"arango-test": "mocha --reporter json --require source-map-support/register --timeout 30000 build/test",
5151
"jenkins": "mocha --reporter spec --require source-map-support/register --timeout 0 build/test",
5252
"test": "mocha --reporter spec --require source-map-support/register --timeout 10000 build/test",
53-
"pretest": "yarn build",
53+
"pretest": "npm run build",
5454
"build:package": "cat package.json | jq 'delpaths([[\"private\"],[\"scripts\"],[\"devDependencies\"],[\"babel\"],[\"browserslist\"]])' | sed 's/build\\///g' | sed -r 's/src\\/([^\"]+)\\.ts/\\1.js/g' > build/package.json",
5555
"build:cjs": "tsc -p . --outDir ./build/ --target es2018 --declarationMap true",
5656
"build:text": "cp *.md build/",
5757
"build:web": "webpack",
5858
"build": "rm -rf build && mkdir build && npm-run-all --parallel build:*",
59-
"prepare": "yarn build && node -e 'require(\".\");'"
59+
"prepare": "npm run build && node -e 'require(\".\");'"
6060
},
6161
"dependencies": {
6262
"@types/node": ">=13.13.4",

0 commit comments

Comments
 (0)