Skip to content

introducing mode for router (#9) #13

introducing mode for router (#9)

introducing mode for router (#9) #13

on:
push:
tags:
- goodrouter-ts@*.*.*
env:
NPM_CONFIG_WORKSPACE: goodrouter-ts
jobs:
publish-npm:
runs-on: ubuntu-latest
container: node:20.9-alpine3.17
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v3
- run: echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> ~/.npmrc
- run: npm ci
- run: npm run build
- run: npm version ${GITHUB_REF_NAME:14}
- run: npm publish