Skip to content

426 - Adjusting trac-peer configuration to conform the release version of MSB #12

426 - Adjusting trac-peer configuration to conform the release version of MSB

426 - Adjusting trac-peer configuration to conform the release version of MSB #12

Workflow file for this run

name: Build and Test
on:
push:
branches:
- "**"
tags:
- "v*"
pull_request:
branches:
- "**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm run test:all
release:
needs: test
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org/'
cache: 'npm'
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}