Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
582 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | name: build
|
---|
| 2 |
|
---|
| 3 | on:
|
---|
| 4 | push:
|
---|
| 5 | branches: [master]
|
---|
| 6 | pull_request:
|
---|
| 7 | branches: ["*"]
|
---|
| 8 |
|
---|
| 9 | jobs:
|
---|
| 10 | build:
|
---|
| 11 | runs-on: ubuntu-latest
|
---|
| 12 |
|
---|
| 13 | strategy:
|
---|
| 14 | matrix:
|
---|
| 15 | node-version: [10.x, 12.x, 14.x]
|
---|
| 16 |
|
---|
| 17 | steps:
|
---|
| 18 | - uses: actions/checkout@v2
|
---|
| 19 | - name: Use Node.js ${{ matrix.node-version }}
|
---|
| 20 | uses: actions/setup-node@v1
|
---|
| 21 | with:
|
---|
| 22 | node-version: ${{ matrix.node-version }}
|
---|
| 23 | - run: npm install
|
---|
| 24 | - run: npm test
|
---|
| 25 | - name: Coveralls
|
---|
| 26 | uses: coverallsapp/github-action@master
|
---|
| 27 | with:
|
---|
| 28 | github-token: ${{ secrets.GITHUB_TOKEN }}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.