Skip to content

Commit

Permalink
feat: use github action and auto release
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Dec 14, 2023
1 parent 88130bd commit 3ef247f
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 83 deletions.
18 changes: 0 additions & 18 deletions .autod.conf.js

This file was deleted.

16 changes: 0 additions & 16 deletions .editorconfig

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI

on:
push:
branches: [ master ]

pull_request:
branches: [ master ]

jobs:
Job:
name: Node.js
uses: node-modules/github-actions/.github/workflows/node-test.yml@master
with:
os: 'ubuntu-latest'
version: '14, 16, 18, 20'
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Release
on:
push:
branches: [ master ]

jobs:
release:
name: Node.js
uses: eggjs/github-actions/.github/workflows/node-release.yml@master
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

File renamed without changes.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,14 @@ assert(match({ path: '/api' }) === true);
### License

[MIT](LICENSE)
<!-- GITCONTRIBUTOR_START -->

## Contributors

|[<img src="https://avatars.githubusercontent.com/u/985607?v=4" width="100px;"/><br/><sub><b>dead-horse</b></sub>](https://github.com/dead-horse)<br/>|[<img src="https://avatars.githubusercontent.com/u/156269?v=4" width="100px;"/><br/><sub><b>fengmk2</b></sub>](https://github.com/fengmk2)<br/>|[<img src="https://avatars.githubusercontent.com/u/7903541?v=4" width="100px;"/><br/><sub><b>releasethecow</b></sub>](https://github.com/releasethecow)<br/>|[<img src="https://avatars.githubusercontent.com/u/227713?v=4" width="100px;"/><br/><sub><b>atian25</b></sub>](https://github.com/atian25)<br/>|[<img src="https://avatars.githubusercontent.com/u/5102113?v=4" width="100px;"/><br/><sub><b>xyeric</b></sub>](https://github.com/xyeric)<br/>|
| :---: | :---: | :---: | :---: | :---: |


This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Thu Dec 14 2023 17:20:14 GMT+0800`.

<!-- GITCONTRIBUTOR_END -->
17 changes: 0 additions & 17 deletions appveyor.yml

This file was deleted.

21 changes: 6 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
],
"scripts": {
"test": "egg-bin test",
"autod": "autod",
"cov": "egg-bin cov",
"lint": "eslint *.js test",
"ci": "npm run lint && npm run cov"
"ci": "npm run lint && npm run cov",
"contributor": "git-contributor"
},
"keywords": [
"url",
Expand All @@ -32,21 +32,12 @@
"path-to-regexp": "^1.7.0"
},
"devDependencies": {
"autod": "^3.0.1",
"egg-bin": "^1.11.1",
"egg-ci": "^1.8.0",
"eslint": "^4.19.1",
"eslint-config-egg": "^5.1.1",
"intelli-espower-loader": "^1.0.1",
"power-assert": "^1.6.1"
"egg-bin": "^6.5.2",
"eslint": "^8.55.0",
"eslint-config-egg": "^13.0.0",
"git-contributor": "^2.1.5"
},
"engine": {
"node": ">= 4.0.0"
},
"ci": {
"version": "4, 6, 8, 10",
"license": {
"year": 2016
}
}
}
2 changes: 1 addition & 1 deletion test/index.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

const assert = require('power-assert');
const assert = require('assert');
const match = require('..');

describe('egg-path-matching', () => {
Expand Down

0 comments on commit 3ef247f

Please sign in to comment.