Bump eslint from 8.57.1 to 9.16.0 #9092
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 |