fix(breadcrumb) Updating breadcrumb colours #70
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: Bump Version, Create Tag, and Cache | |
on: | |
push: | |
branches: [master] | |
jobs: | |
run: | |
name: "Bump version, create tag, and cache" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
# Setup and build | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/cache@v4 | |
with: | |
path: "**/node_modules" | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: Install dependencies | |
run: yarn install --silent --frozen-lockfile | |
- name: Build | |
run: yarn build | |
# Semantics release | |
# Update changelog | |
# Update package.json | |
# Create GH tag | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: npx semantic-release | |
# Get new release tag | |
- name: Get tag | |
id: get-tag | |
run: echo "RELEASE_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)" >> $GITHUB_ENV | |
# Upload Dist | |
- name: Cache Dist | |
uses: actions/cache@v4 | |
with: | |
path: "**/dist" | |
key: ${{ env.RELEASE_TAG }}-dist |