idk how github actions work
This commit is contained in:
parent
224586f853
commit
40f57de5c2
2 changed files with 1 additions and 29 deletions
29
.github/workflows/nodejs.yml
vendored
29
.github/workflows/nodejs.yml
vendored
|
|
@ -1,29 +0,0 @@
|
|||
# Do a clean install of node dependencies and run tests across different versions of node
|
||||
|
||||
name: Node.js CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [10.x, 12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm ci
|
||||
- run: npm test
|
||||
env:
|
||||
CI: true
|
||||
1
.travis.yml
Normal file
1
.travis.yml
Normal file
|
|
@ -0,0 +1 @@
|
|||
language: node_js
|
||||
Loading…
Add table
Add a link
Reference in a new issue