Skip to content

Commit 204e9a7

Browse files
author
Benjamin E. Coe
authored
build: configuring v15 for back-ports (#399)
1 parent c893d30 commit 204e9a7

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
on:
2+
push:
3+
branches:
4+
- 15.x.x
5+
pull_request:
6+
types: [ assigned, opened, synchronize, reopened, labeled ]
7+
name: ci
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
node: [6]
14+
steps:
15+
- uses: actions/checkout@v1
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ matrix.node }}
19+
- run: node --version
20+
- run: npm install
21+
env:
22+
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
23+
- run: npm test
24+
windows:
25+
runs-on: windows-latest
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: actions/setup-node@v1
29+
with:
30+
node-version: 6
31+
- run: npm install
32+
env:
33+
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
34+
- run: npm test

.github/workflows/release-please.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
on:
2+
push:
3+
branches:
4+
- 15.x.x
5+
name: release-please
6+
jobs:
7+
release-please:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: google-github-actions/release-please-action@v2
11+
id: release
12+
with:
13+
token: ${{ secrets.GITHUB_TOKEN }}
14+
command: manifest
15+
default-branch: 15.x.x
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-node@v1
18+
with:
19+
node-version: 14
20+
- run: npm install
21+
env:
22+
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
23+
- run: npm run compile
24+
- uses: actions/setup-node@v1
25+
with:
26+
node-version: 14
27+
registry-url: 'https://external-dot-oss-automation.appspot.com/'
28+
if: ${{ steps.release.outputs.release_created }}
29+
- run: npm install
30+
if: ${{ steps.release.outputs.release_created }}
31+
- run: npm publish --tag=latest-15
32+
env:
33+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
34+
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)