feat(DAN-12): refactor and fix activity detail (#139) #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Pipeline | |
on: | |
push: | |
branches: [main] | |
jobs: | |
release: | |
name: 'Release' | |
runs-on: ubuntu-latest | |
if: contains(github.ref, 'refs/heads/main') | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Get yarn cache | |
uses: actions/cache@v3 | |
id: yarn-cache | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock','.github/workflows/**.yml') }} | |
- name: Install Dependencies | |
if: steps.yarn-cache.outputs.cache.hit != 'true' | |
run: yarn install --frozen-lockfile | |
- name: Release | |
run: yarn run semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} |