Skip to content

Commit

Permalink
Merge pull request #153 from Cyberbeni/remove-makefile
Browse files Browse the repository at this point in the history
Remove makefile
  • Loading branch information
Cyberbeni authored Oct 15, 2024
2 parents fec425a + be7b92c commit d240a1b
Show file tree
Hide file tree
Showing 6 changed files with 236 additions and 242 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Update dependencies
run: yarn upgrade --latest
- name: Build
run: make
run: npm run build
- name: Detect changes in distributed code
if: ${{ github.event.inputs.force != 'true' }}
id: changes
Expand Down
16 changes: 0 additions & 16 deletions Makefile

This file was deleted.

16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,21 @@ jobs:
## How to contribute
Install npm and yarn on macOS (Homebrew required)
Install Node.js: https://nodejs.org/en/download/package-manager
Install yarn and download the dependencies
```bash
make once-mac
npm install --global yarn
yarn
```

Run before commit
Run before commit (fix any issues manually that formatting can't automatically fix)
```bash
make
npm run format
npm run build
```

Run tests in `./__test__/` (for testing parts of the logic, the real tests are run on GitHub after push/pull request)
Run unit tests in `./tests` (the e2e tests are run on GitHub after push/pull request)
```bash
make test
npm run test
```
6 changes: 3 additions & 3 deletions dist/index.js

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,24 @@
"license": "MIT",
"dependencies": {
"@actions/cache": "^3.2.4",
"@actions/core": "^1.10.1",
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"os": "^0.1.2",
"semver": "^7.6.3",
"uuid": "^10.0.0"
},
"devDependencies": {
"@eslint/js": "^9.11.1",
"@eslint/js": "^9.12.0",
"@stylistic/eslint-plugin": "^2.9.0",
"@tsconfig/node20": "^20.1.4",
"@types/jest": "^29.5.13",
"@types/node": "^22.7.4",
"@types/node": "^22.7.5",
"@types/semver": "^7.5.8",
"@types/uuid": "^10.0.0",
"@vercel/ncc": "^0.38.2",
"eslint": "^9.11.1",
"eslint": "^9.12.0",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"typescript": "^5.6.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.8.1"
}
}
Loading

0 comments on commit d240a1b

Please sign in to comment.