Skip to content

chore: update dependency semantic-release to v24 (#115) #565

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

chore: update dependency semantic-release to v24 (#115) #565

Workflow file for this run

name: Build & Release
on:
- push
jobs:
build-test-release:
name: Build, Test, Release
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- name: Get node version
id: node-version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ steps.node-version.outputs.NODE_VERSION }}
- name: Node version
run: node --version
- run: npm ci
- run: npm run build
- run: npm test -- --ci --runInBand --coverage
- run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}