Skip to content

Chore/build and publish declaration maps (#27) #24

Chore/build and publish declaration maps (#27)

Chore/build and publish declaration maps (#27) #24

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- uses: browser-actions/setup-chrome@latest
- run: bash .ci/build.sh
env:
BUILD_NUMBER: ${{ github.run_number }}
COMMIT_HASH: ${{ github.sha }}
- run: bash .ci/test.sh
- run: bash .ci/publish.sh
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}