Skip to content

fixed substr

fixed substr #2

Workflow file for this run

name: CI for BSIBINARY
on:
push:
tags:
- '*'
jobs:
build_and_publish:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn install
- name: Build the project
run: yarn build
- name: Publish to npm
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create GitHub Release
uses: actions/create-release@v1
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
body: |
Automated release for BSIBINARY.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}