feat: November 2024 update (#139) #713
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: Build & Release | |
on: | |
- push | |
jobs: | |
build-test-release: | |
name: Build, Test, Release | |
runs-on: ubuntu-24.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.1.0 | |
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 }} |