mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-11-09 15:03:31 -05:00
44 lines
818 B
YAML
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 }}
|