File tree Expand file tree Collapse file tree 5 files changed +54
-381
lines changed Expand file tree Collapse file tree 5 files changed +54
-381
lines changed Original file line number Diff line number Diff line change
1
+ name : Node.js CI
2
+ ' on ' :
3
+ push :
4
+ branches :
5
+ - master
6
+ - alpha
7
+ - beta
8
+ - ' dependabot/**'
9
+ pull_request :
10
+ types :
11
+ - opened
12
+ - synchronize
13
+ env :
14
+ FORCE_COLOR : 1
15
+ NPM_CONFIG_COLOR : always
16
+ jobs :
17
+ verify :
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - name : Read .nvmrc
22
+ run : ' echo ::set-output name=NVMRC::$(cat .nvmrc)'
23
+ id : nvm
24
+ - name : Setup node
25
+ uses : actions/setup-node@v1
26
+ with :
27
+ node-version : ' ${{ steps.nvm.outputs.NVMRC }}'
28
+ - uses : bahmutov/npm-install@v1
29
+ - run : npm test
30
+ release :
31
+ needs : verify
32
+ runs-on : ubuntu-latest
33
+ steps :
34
+ - uses : actions/checkout@v2
35
+ - name : Read .nvmrc
36
+ run : ' echo ::set-output name=NVMRC::$(cat .nvmrc)'
37
+ id : nvm
38
+ - name : Setup node
39
+ uses : actions/setup-node@v1
40
+ with :
41
+ node-version : ' ${{ steps.nvm.outputs.NVMRC }}'
42
+ - uses : bahmutov/npm-install@v1
43
+ - name : semantic-release
44
+ run : npx semantic-release
45
+ env :
46
+ GITHUB_TOKEN : ' ${{ secrets.GITHUB_TOKEN }}'
47
+ NPM_TOKEN : ' ${{ secrets.NPM_PUBLISH_TOKEN }}'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ for [ESLint](https://eslint.org) for [React](https://reactjs.org) components
5
5
6
6
<!-- status-badges start -->
7
7
8
- [ ![ Build Status] [ ci-badge ]] [ ci-link ]
8
+ [ ![ Node CI Workflow Status] [ github-actions- ci-badge]] [ github-actions- ci-link]
9
9
10
10
<!-- status-badges end -->
11
11
@@ -57,10 +57,6 @@ $ npm test
57
57
58
58
[ license-badge ] : https://img.shields.io/github/license/dsmjs/eslint-config-react.svg
59
59
60
- [ ci-link ] : https://travis-ci.com/dsmjs/eslint-config-react
61
-
62
- [ ci-badge ] : https://img.shields.io/travis/com/dsmjs/eslint-config-react/master.svg
63
-
64
60
[ commit-convention-link ] : https://conventionalcommits.org
65
61
66
62
[ commit-convention-badge ] : https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg
@@ -80,3 +76,7 @@ $ npm test
80
76
[ dependabot-link ] : https://dependabot.com/
81
77
82
78
[ dependabot-badge ] : https://badgen.net/dependabot/dsmjs/eslint-config-react/?icon=dependabot
79
+
80
+ [ github-actions-ci-link ] : https://github.com/dsmjs/eslint-config-react/actions?query=workflow%3A%22Node.js+CI%22+branch%3Amaster
81
+
82
+ [ github-actions-ci-badge ] : https://github.com/dsmjs/eslint-config-react/workflows/Node.js%20CI/badge.svg
You can’t perform that action at this time.
0 commit comments