fix CI
This commit is contained in:
parent
0b706b704f
commit
b39073aa53
8
.github/workflows/nodejs.yml
vendored
8
.github/workflows/nodejs.yml
vendored
@ -15,8 +15,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
- run: npm ci
|
- run: yarn install --frozen-lockfile
|
||||||
- run: npm test
|
- run: yarn test
|
||||||
- name: TSLint checks
|
- name: TSLint checks
|
||||||
uses: mooyoul/tslint-actions@v1.1.1
|
uses: mooyoul/tslint-actions@v1.1.1
|
||||||
with:
|
with:
|
||||||
@ -30,8 +30,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- run: npm install
|
- run: yarn install
|
||||||
- run: npm run build
|
- run: yarn run build
|
||||||
- name: NPM login
|
- name: NPM login
|
||||||
# NPM doesn't understand env vars and needs auth file lol
|
# NPM doesn't understand env vars and needs auth file lol
|
||||||
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
||||||
|
Loading…
Reference in New Issue
Block a user