Skip to content

Commit

Permalink
adding CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kopiro committed Aug 2, 2024
1 parent ccb0afe commit f0ddffc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ jobs:

- name: Install dependencies
run: npm install
env:
CI: true

- name: Lint the project
run: npm run lint

env:
CI: true

- name: Build the project
run: npm run build
env:
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"main": "dist/index.js",
"license": "ISC",
"scripts": {
"lint": "eslint src/**/*.ts --max-warnings=0",
"watch": "npm run build && npm link && nodemon",
"build": "rimraf ./dist && tsc",
"prepublishOnly": "npm run lint && npm run build"
Expand Down

0 comments on commit f0ddffc

Please sign in to comment.