mirror of
https://github.com/filegator/filegator.git
synced 2025-08-10 15:14:32 +02:00
Create nodejs.yml
This commit is contained in:
23
.github/workflows/nodejs.yml
vendored
Normal file
23
.github/workflows/nodejs.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Node
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [10.x, 12.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: npm install, build, and test
|
||||
run: |
|
||||
npm install
|
||||
npm run lint
|
Reference in New Issue
Block a user