Skip to content

Commit

Permalink
npm -> yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
mj1618 committed Sep 4, 2022
1 parent 32a7b1f commit 5eb5031
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ jobs:
name: Test and Build
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
- name: install, lint, test, build
run: |
DEBUG=true npm ci
npm run lint
npm run test
npm run build
DEBUG=true yarn install --frozen-lockfile
yarn run lint
yarn test
yarn build
publish:
name: Publish
Expand All @@ -26,12 +26,12 @@ jobs:
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 16.x
- name: install
run: npm ci
run: yarn install --frozen-lockfile

- name: package-version
run: node -p -e '`PACKAGE_VERSION=${require("./package.json").version}`' >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"scripts": {
"build": "tsc -p src",
"watch": "tsc -p src -w",
"test": "nyc ts-mocha \"test/**/*.ts\" --slow 300 -p tsconfig.json",
"test": "nyc ts-mocha \"test/**/*.ts\" --slow 300 -p src/tsconfig.json",
"lint": "tslint -c tslint.json 'src/**/*'",
"prepare": "npm run lint && npm run test && npm run build",
"prepare": "yarn run lint && yarn test && yarn build",
"prettier": "npx prettier --write src test",
"upgrade": "npx npm-check-updates -u"
},
Expand Down
File renamed without changes.

0 comments on commit 5eb5031

Please sign in to comment.