2020-05-03 21:09:41 +02:00
|
|
|
name: ci
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
ci:
|
2020-05-03 21:35:54 +02:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os:
|
|
|
|
- ubuntu-latest
|
|
|
|
- macOS-latest
|
2020-05-03 21:09:41 +02:00
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
-
|
|
|
|
name: Build
|
|
|
|
run: |
|
|
|
|
npm install
|
|
|
|
npm run build
|
2020-05-04 16:22:10 +02:00
|
|
|
env|sort
|
|
|
|
-
|
|
|
|
name: Env
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
env|sort
|
2020-05-03 21:09:41 +02:00
|
|
|
-
|
|
|
|
name: Import GPG key
|
|
|
|
uses: ./
|
2020-05-04 20:59:11 +02:00
|
|
|
with:
|
|
|
|
git_gpgsign: true
|
2020-05-05 20:05:49 +02:00
|
|
|
git_committer_name: Joe Tester
|
|
|
|
git_committer_email: joe@foo.bar
|
2020-05-03 21:09:41 +02:00
|
|
|
env:
|
|
|
|
SIGNING_KEY: ${{ secrets.SIGNING_KEY_TEST }}
|
2020-05-04 16:17:14 +02:00
|
|
|
PASSPHRASE: ${{ secrets.PASSPHRASE_TEST }}
|