Skip to content

Commit c67c48a

Browse files
committed
ci(workflows): update lint-source & publish-npm
1 parent bd3d41a commit c67c48a

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/lint-source.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ on: [push]
44

55
jobs:
66
lint-source:
7+
strategy:
8+
matrix:
9+
node-version: [10, 12, 14, 15]
710
runs-on: ubuntu-latest
8-
container:
9-
image: node:12-alpine
11+
container: boringcodes/dev-runner:node-${{matrix.node-version}}-alpine
12+
name: With Node.js ${{matrix.node-version}}
1013
steps:
1114
- name: Checkout source
1215
uses: actions/checkout@v2

.github/workflows/publish-npm.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@ on:
88
jobs:
99
publish-npm:
1010
runs-on: ubuntu-latest
11-
strategy:
12-
matrix:
13-
node-version: [12]
11+
container: boringcodes/dev-runner:node-15-alpine
12+
name: With Node.js 15
1413
steps:
1514
- name: Checkout source
1615
uses: actions/checkout@v2
17-
- name: Setup Node.js ${{matrix.node-version}}
18-
uses: actions/setup-node@v1
16+
- name: Config registry
17+
uses: actions/setup-node@v2
1918
with:
20-
node-version: ${{matrix.node-version}}
2119
registry-url: https://registry.npmjs.org
2220
- name: Publish package
2321
run: yarn publish --access public

0 commit comments

Comments
 (0)