Skip to content

chore(deps): update dependency @types/slug to ^5.0.8 (#1024) #379

chore(deps): update dependency @types/slug to ^5.0.8 (#1024)

chore(deps): update dependency @types/slug to ^5.0.8 (#1024) #379

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- main
jobs:
validate:
name: Validate
uses: ./.github/workflows/validate.yml
tests:
needs: [validate]
name: Tests
uses: ./.github/workflows/tests.yml
release:
if: github.ref == 'refs/heads/main'
name: Release
needs: [tests]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Get lts node versions
id: get-lts-versions
run: scripts/get-lts-versions.sh
- name: Use Node.js ${{ steps.get-lts-versions.outputs.last_lts_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ steps.get-lts-versions.outputs.last_lts_version }}
cache: 'yarn'
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Apply debug patches
run: patches/apply-patches.sh
- name: Semantic release
run: yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}