File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CD
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ name : Build, Test, and Deploy
11+ runs-on : ubuntu-latest
12+ timeout-minutes : 30
13+ steps :
14+ - run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
15+ - uses : actions/setup-node@v1
16+ with :
17+ node-version : 12.x
18+ - uses : actions/checkout@v2
19+ - name : Restore Dependency Cache
20+ uses : actions/cache@v1
21+ with :
22+ path : ~/.npm
23+ key : ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
24+ - run : npm install
25+ - run : npm run bootstrap
26+ - run : npm run publish:ci -- --yes
27+ env :
28+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
29+ GIT_AUTHOR_NAME : Ionitron
30+ GIT_AUTHOR_EMAIL :
[email protected] 31+ GIT_COMMITTER_NAME : Ionitron
32+ GIT_COMMITTER_EMAIL :
[email protected]
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches-ignore :
6+ - master
7+
8+ jobs :
9+ build-and-test :
10+ name : Build and Test (Node ${{ matrix.node }})
11+ runs-on : ubuntu-latest
12+ timeout-minutes : 30
13+ strategy :
14+ matrix :
15+ node :
16+ - 12.x
17+ - 10.x
18+ steps :
19+ - uses : actions/setup-node@v1
20+ with :
21+ node-version : ${{ matrix.node }}
22+ - uses : actions/checkout@v2
23+ - name : Restore Dependency Cache
24+ uses : actions/cache@v1
25+ with :
26+ path : ~/.npm
27+ key : ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
28+ - run : npm install
29+ - run : npm run bootstrap
30+ - run : npm run lint
31+ - run : npm test
You can’t perform that action at this time.
0 commit comments