Skip to content

Commit 2a2bef4

Browse files
committed
enable git workflow
1 parent 4a85326 commit 2a2bef4

File tree

4 files changed

+116
-4
lines changed

4 files changed

+116
-4
lines changed

.github/workflows/node.js.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ on:
1111

1212
jobs:
1313
build:
14-
15-
runs-on: ubuntu-latest
14+
runs-on: ${{ matrix.os }}
1615

1716
strategy:
1817
matrix:
18+
os: [ubuntu-latest, macos-latest, windows-latest]
1919
node-version: [10.x, 12.x, 14.x, 15.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

@@ -25,6 +25,7 @@ jobs:
2525
uses: actions/setup-node@v2
2626
with:
2727
node-version: ${{ matrix.node-version }}
28-
- run: npm ci
28+
scope: '@mcmics'
29+
- run: npm ci --ignore-scripts
2930
- run: npm run build --if-present
3031
- run: npm test

.github/workflows/npm-publish.yml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
node-version: 12
2929
registry-url: https://registry.npmjs.org/
30+
scope: '@mcmics'
3031
- run: npm ci
3132
- run: npm publish
3233
env:

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ node_modules
3131
jspm_packages
3232

3333
# lock files
34-
package-lock.json
34+
#package-lock.json
3535

3636
# Optional npm cache directory
3737
.npm

package-lock.json

+110
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)