Skip to content

build(deps-dev): bump @types/node from 20.12.7 to 20.14.9 #209

build(deps-dev): bump @types/node from 20.12.7 to 20.14.9

build(deps-dev): bump @types/node from 20.12.7 to 20.14.9 #209

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 }}