Skip to content

chore(deps): update dependency semantic-release to v24 #1903

chore(deps): update dependency semantic-release to v24

chore(deps): update dependency semantic-release to v24 #1903

Workflow file for this run

name: node
on:
- push
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 20
- 18
- 16
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node-version }}
- run: npm ci
- run: npm test
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
release:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-lts/*-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-lts/*
- run: npm ci
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.SR_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}