Skip to content

Commit

Permalink
chore: add GH_TOKEN for semantic-release (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
manuartero committed Nov 1, 2023
1 parent f82fcb5 commit 1395cac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/blue-ball.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,17 @@ name: Blue Ball

on:
pull_request:
branches:
- main
branches: [main]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 18.17.1

- run: npm ci --ignore-scripts
- run: npm test
- run: npm run build
11 changes: 9 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,19 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: 18.17.1

- run: npm ci --ignore-scripts
- run: npm run release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit 1395cac

Please sign in to comment.