Skip to content

Commit

Permalink
chore: fix permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Coobaha committed Nov 4, 2023
1 parent 9cb4a30 commit 5edb042
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ on:
push:
branches:
- main
pull_request:
name: ci
name: main
jobs:
test:
environment: main
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
pull_request:
name: PR
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 21]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- run: node --version
- run: pnpm install
- run: pnpm test
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- run: pnpm build
1 change: 1 addition & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
bootstrap-sha: 5749cb6e748a34fded03b33d441a060efb8d7e2e
release-please-release:
runs-on: ubuntu-latest
environment: main
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 5edb042

Please sign in to comment.