Skip to content

Commit 9f1c04f

Browse files
committed
chore: update configs, remove deps
1 parent 7e3067e commit 9f1c04f

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
node-version: 14.x
1616

1717
- run: npm install
18+
- run: npm lint
1819
- run: npm test
1920
- uses: JS-DevTools/npm-publish@v1
2021
with:

.github/workflows/test.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: test
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches:
5+
- master
6+
- main
7+
58
jobs:
69
linux:
710
runs-on: ubuntu-latest
@@ -17,5 +20,7 @@ jobs:
1720
node-version: ${{ matrix.node-version }}
1821
- name: Install
1922
run: npm install
23+
- name: Run linter
24+
run: npm run lint
2025
- name: Run tests
21-
run: npm test
26+
run: npm run test

commands/CredentialsPipe.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
* file that was distributed with this source code.
88
*/
99

10-
import fs from 'fs'
1110
import execa from 'execa'
1211
import { args, BaseCommand, flags } from '@adonisjs/core/build/standalone'
1312
import { Credentials } from '../src/Credentials'

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 compile",
40+
"build": "npm run lint && npm run compile",
4141
"prepublishOnly": "npm run build",
4242
"lint": "eslint . --ext=.ts",
4343
"format": "prettier --write .",

0 commit comments

Comments
 (0)