Bump typescript from 5.6.3 to 5.7.2 #8711
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: Build macOS Installer | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-deploy: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18" | |
check-latest: true | |
cache: 'npm' | |
- name: Install project dependencies | |
run: npm ci | |
- name: Remove testing resources | |
run: rm -rf test | |
- name: npm pack | |
run: npx oclif pack macos | |
- name: Rename Mac Installers | |
run: | | |
cd dist/macos | |
for file in saf-*.pkg; do | |
prefix=${file%-*-*.pkg} | |
suffix=${file#saf-*-*-*} | |
mv "$file" "$prefix-$suffix" | |
done | |
- name: Upload SAF-CLI macOS Installer Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: SAF-CLI macOS Installer | |
path: dist/macos/saf-*.pkg |