Add timed pause data #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
if: "!contains(github.event.head_commit.message, '[cd skip]')" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- name: Format check | |
run: deno fmt --check | |
- name: Lint check | |
run: deno lint | |
- name: Type Check | |
run: deno task check:types | |
- name: Test | |
run: deno task test | |
- name: Publish to jsr | |
run: npx jsr publish | |
- name: Build for npm | |
run: deno task build:npm ${{ github.ref_name }} | |
- name: Publish to npm | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: cd npm && npm publish --access public |