From 7a52ddeba2a68388b544f529d2d92104420f77b0 Mon Sep 17 00:00:00 2001 From: Shipwreckt Date: Fri, 31 Oct 2025 20:02:14 +0000 Subject: Changed from static to 11ty! --- .../.github/workflows/release.yml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 node_modules/@11ty/dependency-tree-esm/.github/workflows/release.yml (limited to 'node_modules/@11ty/dependency-tree-esm/.github/workflows/release.yml') diff --git a/node_modules/@11ty/dependency-tree-esm/.github/workflows/release.yml b/node_modules/@11ty/dependency-tree-esm/.github/workflows/release.yml new file mode 100644 index 0000000..d527272 --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/.github/workflows/release.yml @@ -0,0 +1,24 @@ +name: Publish Release to npm +on: + release: + types: [published] +permissions: read-all +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + steps: + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # 4.1.7 + - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # 4.0.3 + with: + node-version: "20" + registry-url: 'https://registry.npmjs.org' + - run: npm ci + - run: npm test + - if: ${{ github.event.release.tag_name != '' && env.NPM_PUBLISH_TAG != '' }} + run: npm publish --provenance --access=public --tag=${{ env.NPM_PUBLISH_TAG }} + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_PUBLISH_TAG: ${{ contains(github.event.release.tag_name, '-beta.') && 'beta' || 'latest' }} -- cgit v1.2.3