fix: resolve shim
relative to tsconfig.json
#24
Workflow file for this run
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: Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm ci --ignore-scripts | |
- run: npm run prepare | |
- name: Publish to npm | |
run: | | |
npm config set //registry.npmjs.org/:_authToken '${NPM_TOKEN}' | |
[[ "$GITHUB_REF_NAME" =~ - ]] && npm config set tag=next | |
npm pkg set version="${GITHUB_REF_NAME/v/}" | |
npm publish --ignore-scripts | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
NPM_CONFIG_PROVENANCE: true |