Skip to content

build(deps-dev): bump typescript from 5.4.5 to 5.5.2 #211

build(deps-dev): bump typescript from 5.4.5 to 5.5.2

build(deps-dev): bump typescript from 5.4.5 to 5.5.2 #211

Workflow file for this run

name: 🚀 Publish
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
actions: write
contents: write
issues: write
pull-requests: write
defaults:
run:
shell: bash
jobs:
test:
name: 🧪 Test
strategy:
matrix:
version: [18, 20, 21]
include:
- version: 20
coverage: true
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}
- name: 📥 Download deps
uses: bahmutov/npm-install@v1
- name: 🃏 Run jest
run: npm test -- --coverage=${{ matrix.coverage }}
- uses: codecov/codecov-action@v4
if: ${{ matrix.coverage }}
publish:
name: ⚙️ Release
needs: [test]
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: 📥 Download deps
uses: bahmutov/npm-install@v1
- name: ⚙️ Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}