mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
chore: check publish --dry-run after testing (#6184)
This commit is contained in:
parent
8522627ea4
commit
60b491755e
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@ -58,6 +58,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ matrix.os }}-${{ matrix.deno }}
|
name: ${{ matrix.os }}-${{ matrix.deno }}
|
||||||
|
|
||||||
|
- name: Publish dry run
|
||||||
|
run: deno publish --dry-run
|
||||||
|
if: matrix.deno == 'canary' && matrix.os == 'ubuntu-latest'
|
||||||
|
|
||||||
test-node:
|
test-node:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
@ -160,22 +164,3 @@ jobs:
|
|||||||
- name: Rebuild Wasm and verify it hasn't changed
|
- name: Rebuild Wasm and verify it hasn't changed
|
||||||
if: success() && steps.source.outputs.modified == 'true'
|
if: success() && steps.source.outputs.modified == 'true'
|
||||||
run: deno task --cwd ${{ matrix.module }} --config deno.json wasmbuild --check
|
run: deno task --cwd ${{ matrix.module }} --config deno.json wasmbuild --check
|
||||||
|
|
||||||
publish-dry-run:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 30
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Clone repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Deno
|
|
||||||
uses: denoland/setup-deno@v2
|
|
||||||
with:
|
|
||||||
deno-version: canary
|
|
||||||
|
|
||||||
- name: Publish (dry run)
|
|
||||||
run: deno publish --dry-run
|
|
||||||
|
Loading…
Reference in New Issue
Block a user