Skip to content

Merge pull request #8 from baloise/feat-disable-ga-with-local-storage #24

Merge pull request #8 from baloise/feat-disable-ga-with-local-storage

Merge pull request #8 from baloise/feat-disable-ga-with-local-storage #24

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 'Group.CH_Open-Source@baloise.ch'
git remote set-url origin https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$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 }}