-
Notifications
You must be signed in to change notification settings - Fork 15
44 lines (38 loc) · 1.23 KB
/
meta.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: meta
on: [pull_request]
jobs:
covector:
name: Covector Status
runs-on: ubuntu-latest
outputs:
status: ${{ steps.covector.outputs.status }}
packagesReadyPathsSpaced: ${{ steps.covector.outputs.packagesReadyPathsSpaced }}
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.packagesPublished }}
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: npx pkg-pr-new publish ${{ needs.covector.outputs.packagesReadyPathsSpaced }}