1
0
Fork 0
mirror of https://github.com/actions/setup-node synced 2025-04-09 10:25:52 +00:00

nodejs.yml

This commit is contained in:
yanz androidify 2020-02-28 09:44:50 +07:00 committed by GitHub
parent ada4b782b3
commit d9ddbe73cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/nodejs.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 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 install
- run: npm run build --if-present
- run: npm test
env:
CI: true