Skip to content

Merge pull request #7 from baloise/gtm-custom-event #23

Merge pull request #7 from baloise/gtm-custom-event

Merge pull request #7 from baloise/gtm-custom-event #23

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
Publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Git Identity
run: |
git config --global user.name 'baopso'
git config --global user.email '[email protected]'
git remote set-url origin https://$GITHUB_ACTOR:[email protected]/$GITHUB_REPOSITORY
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Clean install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Publish to NPM
run: "npm run semantic-release"
env:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}