easingthemes-ssh-deploy/.github/workflows/build.yml

28 lines
504 B
YAML
Raw Normal View History

2021-04-17 06:06:00 +08:00
name: Build
on:
push:
branches: [ '**' ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [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 }}
2021-05-28 04:08:42 +08:00
- run: npm ci
2021-04-17 06:06:00 +08:00
- run: npm run lint
- run: npm run build