Uwuifier v4.2.1 release! #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: Release | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
publish-npm: | |
name: Publish NPM | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Setup latest Deno version | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: vx.x.x | |
- name: Setup Node.js LTS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "latest" | |
registry-url: "https://registry.npmjs.org" | |
- name: Building package | |
run: deno task build | |
- name: Publishing to NPM | |
run: cd npm && npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
publish-jsr: | |
name: Publish JSR | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Publishing to JSR | |
run: npx jsr publish |