Skip to content

Commit

Permalink
convert into single meta on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jbolda committed Jan 16, 2025
1 parent dfb0544 commit 9ef9c39
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 58 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/covector-preview.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/covector-status.yml

This file was deleted.

43 changes: 43 additions & 0 deletions .github/workflows/meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: meta
on: [pull_request]

jobs:
covector:
name: Covector Status
runs-on: ubuntu-latest
outputs:
status: ${{ steps.covector.outputs.status }}

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # required for use of git history
- uses: volta-cli/action@v4
- name: covector status
uses: jbolda/covector/packages/action@covector-v0
id: covector
with:
token: ${{ secrets.FRONTSIDEJACK_GITHUB_TOKEN }}
command: "status"
comment: true
- run: echo ${{ steps.covector.outputs.status }}

preview:
name: Publish Preview Package
needs: [covector]
if: ${{ needs.covector.outputs.status != 'No changes.' }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # required for use of git history
- uses: volta-cli/action@v4

- name: Install Node.js dependencies
run: npm ci
- name: Build All
run: npm run build

- name: Publish Preview Versions
run: echo ${{ needs.covector.outputs.status }}

0 comments on commit 9ef9c39

Please sign in to comment.