Skip to content

Commit 94f3108

Browse files
committed
chore: add github CI
1 parent e5dc6e2 commit 94f3108

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

CONTRIBUTING.md renamed to .github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Guidelines for bug reports:
3636

3737
1. **Use the GitHub issue search** — check if the issue has already been reported.
3838

39-
2. **Check if the issue has been fixed** — try to reproduce it using the latest `master` or development branch in the repository.
39+
2. **Check if the issue has been fixed** — try to reproduce it using the latest `master` or `dev` branch in the repository.
4040

4141
3. **Isolate the problem** — ideally create a [reduced test case](https://css-tricks.com/reduced-test-cases/) and a live example. [This JS Bin](http://jsbin.com/lefey/1/edit?html,output) is a helpful template.
4242

@@ -130,7 +130,7 @@ included in the project:
130130
git push origin <topic-branch-name>
131131
```
132132

133-
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) with a clear title and description against the `master` branch.
133+
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) with a clear title and description into the `dev` branch.
134134

135135
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to license your work under the terms of the [MIT License](LICENSE).
136136

File renamed without changes.

.github/workflows/nodejs.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Node CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
# build runs everyday at 6AM UTC
8+
- cron: '0 6 * * *'
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
matrix:
17+
node-version: [8.x, 10.x, 12.x]
18+
os: [ubuntu-latest, windows-latest, macOS-latest]
19+
20+
steps:
21+
- uses: actions/checkout@v1
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
- name: project check
27+
run: |
28+
npm i
29+
npm run release
30+
env:
31+
CI: true

0 commit comments

Comments
 (0)