Skip to content

Commit

Permalink
fixed github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Inalegwu committed Sep 16, 2024
1 parent 9b763e0 commit b77258e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 29 deletions.
31 changes: 14 additions & 17 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
name: Publish Package
on:
push:
branches:
- main
# .github/workflows/publish.yml
name: Publish

on:
push:
branches:
- main

jobs:
publish:
runs-on:ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4

- name: Publish Package
run: npx jsr publish
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.
steps:
- uses: actions/checkout@v4
- run: npx jsr publish
24 changes: 12 additions & 12 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name":"@disgruntleddevs/make-safe-func",
"description":"Finally be sure your function don't throw",
"license":"MIT",
"version":"0.0.4",
"exports":"./src/index.ts",
"tasks": {
"dev": "deno run --watch main.ts"
},
"imports": {
"@std/assert": "jsr:@std/assert@1",
"neverthrow": "npm:neverthrow@^8.0.0"
}
"name": "@disgruntleddevs/make-safe-func",
"description": "Finally be sure your function don't throw",
"license": "MIT",
"version": "0.0.5",
"exports": "./src/index.ts",
"tasks": {
"dev": "deno run --watch main.ts"
},
"imports": {
"@std/assert": "jsr:@std/assert@1",
"neverthrow": "npm:neverthrow@^8.0.0"
}
}

0 comments on commit b77258e

Please sign in to comment.