Skip to content

fix(debug): encoding --tx-file path (#200) #66

fix(debug): encoding --tx-file path (#200)

fix(debug): encoding --tx-file path (#200) #66

name: Canary release on new commit
on:
push:
branches:
- 'v0.*.x'
paths-ignore:
- '**/package.json'
permissions:
contents: write
jobs:
canary:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn
- name: Build
run: yarn run build
- name: Set up Git identity
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "GitHub Actions [Bot]"
- name: Update package version
run: |
SHORT_COMMIT_ID=$(git log -1 --pretty=format:%h)
npm version prerelease --preid="canary-$SHORT_COMMIT_ID"
- name: Canary release to npm
run: |
npm publish --access public --tag canary
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}