Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
ci: use github actions and remove circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jun 3, 2021
1 parent 1144c7d commit 7e67dae
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 73 deletions.
40 changes: 0 additions & 40 deletions .circleci/config.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ daysUntilClose: 7

# Issues with these labels will never be considered stale
exemptLabels:
- 'Type: Security'
- "Type: Security"

# Label to use when marking an issue as stale
staleLabel: 'Status: Abandoned'
staleLabel: "Status: Abandoned"

# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: test
on:
- push
- pull_request
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 14.15.4
- 16.x
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Run tests
run: npm test
windows:
runs-on: windows-latest
strategy:
matrix:
node-version:
- 14.15.4
- 16.x
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Run tests
run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ build
dist
shrinkwrap.yaml
package-lock.json
test/__app
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
3 changes: 3 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
HUSKY_GIT_PARAMS=$1 node ./node_modules/@adonisjs/mrm-preset/validate-commit/conventional/validate.js
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The MIT License

Copyright 2020 thetutlage, contributors
Copyright 2021 Harminder Virk, contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<div align="center">

[![circleci-image]][circleci-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url] [![synk-image]][synk-url]
[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url] [![synk-image]][synk-url]

</div>

Expand Down Expand Up @@ -209,8 +209,8 @@ export default transformerBefore(ts: typescript, appRoot: string) {
}
```

[circleci-image]: https://img.shields.io/circleci/project/github/adonisjs/require-ts/master.svg?style=for-the-badge&logo=circleci
[circleci-url]: https://circleci.com/gh/adonisjs/require-ts "circleci"
[gh-workflow-image]: https://img.shields.io/github/workflow/status/adonisjs/require-ts/test?style=for-the-badge
[gh-workflow-url]: https://github.com/adonisjs/require-ts/actions/workflows/test.yml "Github action"

[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
[typescript-url]: "typescript"
Expand Down
16 changes: 0 additions & 16 deletions appveyor.yml

This file was deleted.

7 changes: 3 additions & 4 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
"core": true,
"license": "MIT",
"services": [
"appveyor",
"circleci"
"github-actions"
],
"appveyorUsername": "thetutlage",
"minNodeVersion": "14.15.4",
"probotApps": [
"stale",
"lock"
]
],
"runGhActionsOnWindows": true
}
7 changes: 0 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
"@types/node": "^15.9.0",
"@types/source-map-support": "^0.5.3",
"benchmark": "^2.1.4",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"del-cli": "^3.0.1",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
Expand All @@ -47,11 +45,6 @@
"ts-node": "^10.0.0",
"typescript": "^4.3.2"
},
"husky": {
"hooks": {
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js"
}
},
"nyc": {
"exclude": [
"test"
Expand Down

0 comments on commit 7e67dae

Please sign in to comment.