Skip to content

test(testing): correct test names (#4585) #273

test(testing): correct test names (#4585)

test(testing): correct test names (#4585) #273

name: workspace publish
on:
push:
branches: [main]
release:
types: [published]
env:
DENO_UNSTABLE_WORKSPACES: true
jobs:
publish:
runs-on: ubuntu-22.04
timeout-minutes: 30
permissions:
contents: read
id-token: write
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set up Deno
uses: denoland/setup-deno@v1
- name: Convert to workspace
run: deno run -A ./_tools/convert_to_workspace.ts
- name: Format
run: deno fmt
- name: Type check
run: deno task test
- name: Publish (dry run)
if: github.event_name == 'push'
run: deno publish --allow-dirty --dry-run
- name: Publish (real)
if: github.event_name == 'release'
run: deno publish --allow-dirty