Skip to content

Still trying to prevent auth token from being set. #29

Still trying to prevent auth token from being set.

Still trying to prevent auth token from being set. #29

name: Publish State Packages
on:
push:
tags:
- 'v*'
permissions:
id-token: write
contents: read
jobs:
publish:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
state: [california, colorado]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
- name: Configure npm registry
run: npm config set registry https://registry.npmjs.org/
- run: npm install
- name: Build state package
run: |
VERSION="${GITHUB_REF#refs/tags/v}"
node packages/clients/scripts/build-state-package.js \
--state=${{ matrix.state }} \
--version=$VERSION
- name: Publish to npm
working-directory: packages/clients/dist-packages/${{ matrix.state }}
run: npm publish