Skip to content

Commit 622a5b4

Browse files
committed
Switch back to npm
1 parent c103fd7 commit 622a5b4

File tree

4 files changed

+17924
-12393
lines changed

4 files changed

+17924
-12393
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Use Node.js
16-
uses: actions/setup-node@v2
16+
uses: actions/setup-node@v1
1717
with:
18-
node-version: '12'
18+
node-version: '10.14'
1919
- name: Cache Node.js modules
2020
uses: actions/cache@v2
2121
with:
2222
path: ~/.npm
23-
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
23+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2424
restore-keys: |
2525
${{ runner.os }}-node-
26-
- run: yarn install
26+
- run: npm ci
2727
- run: ./scripts/before_script.sh
2828
env:
2929
CI: true

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ jobs:
77
runs-on: ubuntu-18.04
88
steps:
99
- uses: actions/checkout@v2
10-
- uses: actions/setup-node@v2
10+
- uses: actions/setup-node@v1
1111
with:
12-
node-version: '12'
12+
node-version: 12
1313
registry-url: https://registry.npmjs.org/
1414
- name: Cache Node.js modules
1515
uses: actions/cache@v2
1616
with:
1717
path: ~/.npm
18-
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
18+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
1919
restore-keys: |
2020
${{ runner.os }}-node-
21-
- run: yarn install
22-
- run: yarn publish
21+
- run: npm ci
22+
- run: npm publish
2323
env:
2424
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)