Skip to content

wip: ens

wip: ens #1

Workflow file for this run

# TODO(v3): Remove when v3 is released.
name: Prerelease
on:
push:
branches: [v3]
workflow_dispatch:
jobs:
canary:
name: Release canary
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Setup .npmrc file
uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- name: Publish to npm
run: |
cd src-next && pnpm version $(npm pkg get version | sed 's/"//g')-$(date +'%Y%m%dT%H%M%S') && cd ../
pnpm version:update
pnpm prepublishOnly
pnpm build
cd src-next && pnpm publish --no-git-checks --provenance false && cd ../
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}