migrate from yarn to npm (#148)

* migrate from yarn to npm

* fix unrelated prettier error
This commit is contained in:
ledhed2222
2021-10-13 16:11:55 -04:00
parent ba7594c51f
commit 869e6e2553
6 changed files with 14331 additions and 4634 deletions

View File

@@ -5,9 +5,9 @@ name: Node.js CI
on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build_with_nvm:
@@ -23,10 +23,10 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- run: yarn install
- run: yarn run test
- run: yarn run lint
- run: yarn run compile
- run: npm install
- run: npm test
- run: npm run lint
- run: npm run compile
build:
@@ -42,7 +42,7 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn run test
- run: yarn run lint
- run: yarn run compile
- run: npm install
- run: npm test
- run: npm run lint
- run: npm run compile