Skip to content

fix: bump all libs #189

fix: bump all libs

fix: bump all libs #189

Workflow file for this run

name: PublishRelease
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
with:
fetch-depth: 0
persist-credentials: false
# we pull the repo course contents outside the docker build to avoid
# putting ssh keys on the docker layers
- uses: webfactory/ssh-agent@d4b9b8ff72958532804b70bbe600ad43b36d5f2e # v0.8.0
with:
ssh-private-key: |
${{ secrets.MAC_SETUP_DEPLOY_KEY }}
${{ secrets.NBL_DEPLOY_KEY }}
${{ secrets.USEMILLER_DEPLOY_KEY }}
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
with:
node-version: "18"
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3
name: Setup pnpm cache
with:
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
${{ github.workspace }}/apps/frontend/.next/cache
key: ${{ runner.os }}-pnpm-store-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-pnpm-store-nextjs
- name: Install dependencies
run: pnpm install --frozen-lockfile -r
- run: pnpm run test
- run: pnpm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_SM }}
run: npx semantic-release