Skip to content

Commit

Permalink
Fixed workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 3, 2024
1 parent 500491d commit b3666b4
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 11 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,27 @@ on:
jobs:
ci:
name: CI
uses: zen-fs/core/.github/workflows/ci.yaml@main
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22

- name: Install dependencies
run: npm install

- name: Formatting
run: npm run format:check

- name: Linting
run: npm run lint

- name: Build
run: npm run build
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Release

on:
release:
types: [created]

jobs:
ci:
name: CI
uses: zen-fs/core/.github/workflows/ci.yaml@main
permissions:
contents: read
id-token: write
uses: ./.github/workflows/ci.yaml
docs:
name: Docs
uses: zen-fs/core/.github/workflows/deploy-docs.yaml@main
needs: ci
release:
name: Release
uses: zen-fs/core/.github/workflows/release.yaml@main
uses: zen-fs/core/.github/workflows/release-common.yaml@main
needs: ci
secrets: inherit

0 comments on commit b3666b4

Please sign in to comment.