2.0.8 #7
Workflow file for this run
This file contains hidden or 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
| on: | |
| push: | |
| tags: | |
| - "*" | |
| name: release | |
| jobs: | |
| compare: | |
| name: compare | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: "npm install -g deno" | |
| - run: "npm ci --ignore-scripts" | |
| - run: "npm diff --diff=$(jq -r '.name' package.json)@$(jq -r '.version' package.json)" | |
| - run: "[[ -z $(npm diff --diff=$(jq -r '.name' package.json)@$(jq -r '.version' package.json)) ]]" | |
| - run: "deno bundle --minify --output local ./src/mod.ts" | |
| - run: "deno bundle --minify --output remote https://jsr.io/$(jq -r '.name' deno.json)/$(jq -r '.version' deno.json)/src/mod.ts" | |
| - run: "diff local remote" | |
| - run: "[[ -z $(diff local remote) ]]" |