Skip to content

Fixed an issue with the datacenter cleanup #602

Fixed an issue with the datacenter cleanup

Fixed an issue with the datacenter cleanup #602

Workflow file for this run

name: Publish CLI
on: push
env:
CI: true
jobs:
publish_cli:
name: Publish CLI
if: github.ref_name == 'main' || startsWith(github.ref_name, 'arcctl-')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
clean: true
ref: ${{ github.ref_name }}
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: 1.38.1
- run: deno task generate:npm
# - run: |
# cd build
# echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" > .npmrc
# npm publish --access public
# GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD) npm run semantic-release