goreleaser-action/.github/workflows/test.yml
CrazyMax 6c7b10c265
feat: Use native GitHub Action tools to download assets and use GitHub API (#187)
* Use native GitHub Action tools to download assets and use GitHub API
* Fix unexpected output when tag not found
* Use GitHub Action exec
* Add screenshot

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-05-07 02:15:24 +02:00

31 lines
519 B
YAML

name: test
on:
pull_request:
branches:
- master
- feature/*
- releases/*
push:
branches:
- master
- feature/*
- releases/*
jobs:
test:
runs-on: ubuntu-latest
steps:
-
# https://github.com/actions/checkout
name: Checkout
uses: actions/checkout@v2
-
name: Unshallow
run: git fetch --prune --unshallow
-
name: Install
run: npm install
-
name: Test
run: npm run test