chore(deps): update dependency @types/node to v20.12.6 (#1077) #426
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: 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 }} |