Skip to content

fix: package.json

fix: package.json #2

Workflow file for this run

name: Release
on:
push:
tags:
- "*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: bazel build package
- run: rsync --copy-links --recursive --times --group --no-perms --chmod=ugo=rwX ./bazel-bin/package/package/ ./tmp_pkg
- run: npm version ${{ github.ref_name }}
working-directory: ./tmp_pkg
- run: npm publish --dry-run
working-directory: ./tmp_pkg
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}