mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-04-30 18:20:20 +08:00
Update publish.yml
This commit is contained in:
parent
ac3d21cb89
commit
0e7ac7d1fc
18
.github/workflows/publish.yml
vendored
18
.github/workflows/publish.yml
vendored
@ -11,14 +11,22 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [16.x]
|
||||||
|
os: [ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: actions/setup-node@v1
|
- name: Use Node.js ${{ matrix.node_version }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: ${{ matrix.node_version }}
|
||||||
- run: npm install
|
|
||||||
- run: npm run test -- --coverage --watchAll=false
|
- name: npm install, build, and test
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run test -- --coverage --watchAll=false
|
||||||
|
|
||||||
- name: Setup GIT
|
- name: Setup GIT
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user