Skip to content

Merge pull request #36 from Stedi/fix/release #28

Merge pull request #36 from Stedi/fix/release

Merge pull request #36 from Stedi/fix/release #28

Workflow file for this run

name: release
on:
push:
branches:
- stedi-main
jobs:
main:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: placeholder
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
- run: npm i
env:
GITHUB_TOKEN: ${{secrets.PUBLIC_PACKAGE_GITHUB_TOKEN}}
- run: npm run test #test command builds JSONata in its posttest script
- uses: crazy-max/ghaction-import-gpg@v3
with:
gpg-private-key: ${{secrets.STEDI_ENGINEERING_PUBLIC_REPO_GPG_PRIVATE_KEY}}
passphrase: ${{secrets.STEDI_ENGINEERING_PUBLIC_REPO_GPG_PASSPHRASE}}
git-user-signingkey: true
git-commit-gpgsign: true
id: import_gpg
- run: 'echo "email: ${{ steps.import_gpg.outputs.email }}"'
env: {}
- run: npm run release
env:
GIT_AUTHOR_NAME: ${{steps.import_gpg.outputs.name}}
GIT_COMMITTER_NAME: ${{steps.import_gpg.outputs.name}}
GIT_AUTHOR_EMAIL: ${{steps.import_gpg.outputs.email}}
GIT_COMMITTER_EMAIL: ${{steps.import_gpg.outputs.email}}
GITHUB_TOKEN: ${{secrets.PUBLIC_PACKAGE_GITHUB_TOKEN}}