fix(renovate): Update minor (minor) (#47) #222
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: PublishRelease | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # 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@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4 | |
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@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4 | |
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 |