Skip to content

Commit

Permalink
More work on GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Nov 27, 2024
1 parent f51511c commit a4928a4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
on:
- push
- pull_request
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
build-and-test:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
release:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write # The OIDC ID token is used for authentication with JSR.

steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -29,3 +33,5 @@ jobs:

- name: Release
run: pnpm publish-release-ci ${{ github.ref_name }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit a4928a4

Please sign in to comment.