Skip to content

fix: match react-router-dom version with react-components (#50) #205

fix: match react-router-dom version with react-components (#50)

fix: match react-router-dom version with react-components (#50) #205

Workflow file for this run

name: Build and publish
on:
push:
paths-ignore:
- "*.md"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: asdf-vm/actions/install@v3
- name: ⚙️ Use Node.js
uses: actions/setup-node@v4
with:
registry-url: "https://npm.pkg.github.com"
cache: "pnpm"
node-version-file: ".tool-versions"
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: ⬇️ Install dependencies
shell: bash
run: pnpm install --frozen-lockfile --prefer-offline
- name: 🧐 Typecheck
run: pnpm typecheck
- name: ✅ Test
run: pnpm e2e:unit:test
- name: 📦 Semantic Release
uses: cycjimmy/semantic-release-action@v3
id: semantic
with:
semantic_version: 19.0.5
branches: |
['main']
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}