File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ name: ci:build
2
+ on:
3
+ - push
4
+ - pull_request
5
+ jobs:
6
+ test:
7
+ name: Continuous integration (build)
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout 🛎️
11
+ uses: actions/checkout@v2
12
+
13
+ - name: Install 🔧
14
+ uses: bahmutov/npm-install@v1
15
+ with:
16
+ install-command: yarn --frozen-lockfile --ignore-scripts
17
+ useRollingCache: true
18
+
19
+ - name: Build 🏗️
20
+ run: yarn ci:build
Original file line number Diff line number Diff line change 47
47
"build": "NODE_ENV=production microbundle",
48
48
"build-docs": "esdoc",
49
49
"build-gh-pages": "npm run build-docs",
50
+ "ci:build": "npm run build",
50
51
"ci:test": "npm run lint-config && npm run lint && npm run cover",
51
52
"commit-msg": "commitlint --edit",
52
53
"cover": "NODE_ENV=cover c8 --all --src src --reporter lcov --reporter text-summary --reporter text npm test",
You can’t perform that action at this time.
0 commit comments