Skip to content

Commit 9133e09

Browse files
Merge branch 'master' into prefer-builtins
2 parents e13ecdd + 0699b91 commit 9133e09

2 files changed

Lines changed: 47 additions & 9 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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}}

.travis.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)