File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Node CI
2+
3+ on :
4+ pull_request : {}
5+ push :
6+ branches-ignore :
7+ - trying.tmp
8+ - staging.tmp
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ strategy :
15+ matrix :
16+ node-version : [12.x, 13.x]
17+
18+ steps :
19+ - uses : actions/checkout@v1
20+ - name : Use Node.js ${{ matrix.node-version }}
21+ uses : actions/setup-node@v1
22+ with :
23+ node-version : ${{ matrix.node-version }}
24+ - name : npm install, build, and test
25+ run : |
26+ npm install
27+ npm test
28+ - name : sizereport
29+ run : ./node_modules/.bin/sizereport --config
30+
31+ # Could add this for canary versions
32+ # publish-gpr:
33+ # needs: build
34+ # runs-on: ubuntu-latest
35+ # steps:
36+ # - uses: actions/checkout@v1
37+ # - uses: actions/setup-node@v1
38+ # with:
39+ # node-version: 12
40+ # registry-url: https://npm.pkg.github.com/
41+ # scope: '@preact'
42+ # - run: |
43+ # npm install
44+ # npm config set registry https://npm.pkg.github.com/
45+ # npm publish
46+ # env:
47+ # NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments