Skip to content

Merge branch 'master' of https://github.com/thegreataint/tacstory #18

Merge branch 'master' of https://github.com/thegreataint/tacstory

Merge branch 'master' of https://github.com/thegreataint/tacstory #18

Workflow file for this run

# .github/workflows/semantic.yml
# Workflow name
name: Semantic release
on: push
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0 # 👈 Required to retrieve git history
#- name: Setup Node.js
# uses: actions/setup-node@v1
# with:
# node-version: 12
- name: Install dependencies
run: yarn
- name: Build app
run: yarn build
# Verify Authentication with npm
- name: Authenticate with npm
run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
- name: Semantic release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release