Skip to content

feat: add macOS x64 binaries to deployment #27

feat: add macOS x64 binaries to deployment

feat: add macOS x64 binaries to deployment #27

Workflow file for this run

name: Tests
on: [pull_request]
jobs:
run-automated-tests:
# Because our team uses macos for our development environment, we run e2e tests also on a mac to feel more confident it will work for us.
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-dev-environment
- name: Run automated tests
run: deno test --allow-all # provide all permissions to the test script because it modifies file system to prepare for e2e tests.
test-script-compiles-and-runs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-dev-environment
- name: Compile script into a macOS m1 binary
run: |
deno compile --allow-all binny.ts
chmod +x binny
- name: Run the script and expect not to error
run: ./binny swiftlint --version # expect command to run and not throw error