diff options
| author | Shipwreckt <me@shipwreckt.co.uk> | 2025-10-31 20:02:14 +0000 |
|---|---|---|
| committer | Shipwreckt <me@shipwreckt.co.uk> | 2025-10-31 20:02:14 +0000 |
| commit | 7a52ddeba2a68388b544f529d2d92104420f77b0 (patch) | |
| tree | 15ddd47457a2cb4a96060747437d36474e4f6b4e /node_modules/@11ty/dependency-tree-esm/.github | |
| parent | 53d6ae2b5568437afa5e4995580a3fb679b7b91b (diff) | |
Changed from static to 11ty!
Diffstat (limited to 'node_modules/@11ty/dependency-tree-esm/.github')
| -rw-r--r-- | node_modules/@11ty/dependency-tree-esm/.github/workflows/ci.yml | 22 | ||||
| -rw-r--r-- | node_modules/@11ty/dependency-tree-esm/.github/workflows/release.yml | 24 |
2 files changed, 46 insertions, 0 deletions
diff --git a/node_modules/@11ty/dependency-tree-esm/.github/workflows/ci.yml b/node_modules/@11ty/dependency-tree-esm/.github/workflows/ci.yml new file mode 100644 index 0000000..cccfbd7 --- /dev/null +++ b/node_modules/@11ty/dependency-tree-esm/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +on: + push: + branches-ignore: + - "gh-pages" +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: ["ubuntu-latest", "macos-latest", "windows-latest"] + node: ["18", "20", "22"] + name: Node.js ${{ matrix.node }} on ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - name: Setup node + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node }} + - run: npm install + - run: npm test +env: + YARN_GPG: no 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' }} |
