Skip to content

Commit

Permalink
chore: update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
bweber committed Sep 14, 2024
1 parent c6050ac commit 183bb0f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,25 @@ name: Deploy

on:
push:
branches: [ 'master' ]
branches: ["master"]

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ secrets.SEMANTIC_RELEASE_PAT }}
token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
node-version: "20"
cache: "yarn"

- name: Install deps (with cache)
uses: bahmutov/npm-install@v1
Expand All @@ -27,4 +30,4 @@ jobs:
- name: Release
run: yarn release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 183bb0f

Please sign in to comment.