Skip to content

Merge pull request #31 from script-development/fix/adapter-store-setb… #31

Merge pull request #31 from script-development/fix/adapter-store-setb…

Merge pull request #31 from script-development/fix/adapter-store-setb… #31

Workflow file for this run

name: Publish
on:
push:
branches: [main]
paths:
- "**/package.json"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
- run: npm ci --ignore-scripts
- run: npm run build
- uses: actions/upload-artifact@v4
with:
name: build-output
path: packages/*/dist/
retention-days: 1
if-no-files-found: error
publish:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
scope: "@script-development"
- uses: actions/download-artifact@v4
with:
name: build-output
path: packages
- run: npm ci --ignore-scripts
- run: npx changeset publish
env:
NPM_CONFIG_PROVENANCE: "true"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}