Skip to content

Workflow cleanup

Workflow cleanup #4

Workflow file for this run

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/