goreleaser-action/.github/workflows/test.yml

35 lines
547 B
YAML
Raw Normal View History

2019-09-22 05:17:07 +00:00
name: test
on:
pull_request:
branches:
- master
- releases/*
2019-09-22 05:17:07 +00:00
push:
branches:
- master
- releases/*
2019-09-22 05:17:07 +00:00
jobs:
test:
runs-on: ubuntu-latest
steps:
-
# https://github.com/actions/checkout
name: Checkout
2020-05-06 21:12:22 +00:00
uses: actions/checkout@v2
2020-04-09 01:31:03 +00:00
-
name: Build
run: |
npm install
npm run build
2019-09-22 05:17:07 +00:00
-
name: Install
run: npm ci
-
name: Build
run: npm run build
-
name: Test
run: npm run test