diff --git a/.github/workflows/publish-manually.yml b/.github/workflows/publish-manually.yml deleted file mode 100644 index d06430e5..00000000 --- a/.github/workflows/publish-manually.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Manually Publish to NPM -on: - workflow_dispatch: - -concurrency: ${{ github.workflow }}-${{ github.ref }} - -permissions: - id-token: write # Required for OIDC - contents: write - pull-requests: write - packages: write - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-node@v4 - with: - node-version: "22" - registry-url: "https://registry.npmjs.org" - - - name: Display npm version - run: npm --version - - name: Installing dependencies - run: cd frontend && npm ci && pwd - - name: Update npm - run: npm install -g npm@latest - - name: Display npm version - run: npm --version - - run: cd frontend && npm run build - - run: cd frontend && npm test - - run: cd frontend && npm publish diff --git a/.github/workflows/publish-to-npm.yml b/.github/workflows/publish-to-npm.yml index 63b70b09..3911f6de 100644 --- a/.github/workflows/publish-to-npm.yml +++ b/.github/workflows/publish-to-npm.yml @@ -21,9 +21,11 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: "20" + node-version: "22" registry-url: "https://registry.npmjs.org" + - name: Update npm + run: npm install -g npm@latest && npm --version - name: Installing dependencies run: cd frontend && npm ci && pwd - name: Create Release Pull Request or Publish diff --git a/frontend/.changeset/lazy-worms-smile.md b/frontend/.changeset/lazy-worms-smile.md new file mode 100644 index 00000000..3c9474fc --- /dev/null +++ b/frontend/.changeset/lazy-worms-smile.md @@ -0,0 +1,5 @@ +--- +'pydantic-forms': patch +--- + +Trigger a deployment as a trusted publisher