Skip to content

fix: package.json

fix: package.json #4

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
- name: publish
run: |
npm version ${{ github.ref_name }}
npm publish --dry-run
working-directory: tmp_pkg
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
generate_release_notes: true