gpg/.github/workflows/ci.yml
2020-05-05 20:05:49 +02:00

44 lines
818 B
YAML

name: ci
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macOS-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Build
run: |
npm install
npm run build
env|sort
-
name: Env
shell: bash
run: |
env|sort
-
name: Import GPG key
uses: ./
with:
git_gpgsign: true
git_committer_name: Joe Tester
git_committer_email: joe@foo.bar
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY_TEST }}
PASSPHRASE: ${{ secrets.PASSPHRASE_TEST }}