Workflow cleanup #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Detect | |
on: | |
workflow_dispatch: | |
pull_request: | |
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 | |
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/ |