Skip to content

Commit

Permalink
Chore: Update Github Workflow (#67)
Browse files Browse the repository at this point in the history
* Chore: Update Github Workflow

* descope permissions
  • Loading branch information
christopher-learningpool authored Dec 1, 2023
1 parent 4655309 commit 8fb81fb
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,33 @@ on:
push:
branches:
- master

permissions:
contents: write
pull-requests: write

jobs:
release:
name: Release
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: yarn
cache: npm

- name: Install dependencies
run: yarn install --frozen-lockfile
run: npm ci

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
run: yarn semantic-release
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run semantic-release

0 comments on commit 8fb81fb

Please sign in to comment.