-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (34 loc) · 982 Bytes
/
detect.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
name: Detect
on:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]
env:
PKL_VERSION: 0.26.3
PKL_ARCH: macos-aarch64
permissions:
contents: write
jobs:
submit_dependencies:
name: Submit Dependencies
runs-on: macos-14
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Install pkl
run: |
curl -L -o pkl "https://github.com/apple/pkl/releases/download/${PKL_VERSION}/pkl-${PKL_ARCH}"
chmod +x pkl
sudo mv pkl /usr/local/bin/pkl
pkl --version
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install NPM dependencies
run: npm ci --prefix .github/workflows/cosmic-detector/
- name: Run all NPM build/test actions
run: npm run all --prefix .github/workflows/cosmic-detector/
- name: Run dependency submission
uses: ./.github/workflows/cosmic-detector/