Skip to content

Commit f73ce6b

Browse files
committed
chore: update workflows
1 parent 9f1c04f commit f73ce6b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
- uses: actions/checkout@v1
1313
- uses: actions/setup-node@v1
1414
with:
15-
node-version: 14.x
15+
node-version: 16.x
1616

1717
- run: npm install
18-
- run: npm lint
19-
- run: npm test
18+
- run: npm run lint
19+
- run: npm run test
2020
- uses: JS-DevTools/npm-publish@v1
2121
with:
2222
token: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: test
2+
23
on:
34
push:
45
branches:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"clean": "del build",
3838
"copyfiles": "copyfiles \"instructions.md\" build",
3939
"compile": "npm run lint && npm run clean && tsc",
40-
"build": "npm run lint && npm run compile",
40+
"build": "npm run compile",
4141
"prepublishOnly": "npm run build",
4242
"lint": "eslint . --ext=.ts",
4343
"format": "prettier --write .",

0 commit comments

Comments
 (0)