mirror of
https://github.com/chenasraf/venom.git
synced 2026-05-17 17:28:08 +00:00
24 lines
421 B
YAML
24 lines
421 B
YAML
name: Node.js CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x, 14.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: yarn install
|
|
- run: yarn build
|
|
- run: yarn test
|
|
env:
|
|
CI: true |