diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cde2da4..7cdc108 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,13 +17,15 @@ jobs: test-javascript: name: "JavaScript Tests" - runs-on: "${{ matrix.os }}" + runs-on: ${{ matrix.os }} strategy: matrix: os: - "ubuntu-latest" - "macos-latest" + - [ "self-hosted", "Linux", "ARM64" ] + - [ "self-hosted", "Linux", "X64" ] steps: - name: "Checkout" @@ -34,7 +36,9 @@ jobs: - name: "Cache Dependencies" id: cache - uses: actions/cache@v3 + uses: actions/cache@8070854e57d983bdd2887b0a708ad985f77398ab + env: + GITHUB_ACTIONS_RUNNER_FORCED_NODE_VERSION: node20 with: key: npm-${{ matrix.os }}-${{ hashFiles('package-lock.json') }} path: ./node_modules @@ -59,13 +63,15 @@ jobs: test-minimal-action: name: "Minimal - Github Action Test" - runs-on: "${{ matrix.os }}" + runs-on: ${{ matrix.os }} strategy: matrix: os: - "ubuntu-latest" - "macos-latest" + - [ "self-hosted", "Linux", "ARM64" ] + - [ "self-hosted", "Linux", "X64" ] # TODO: test with different flox versions #flox-version: # - stable @@ -91,13 +97,15 @@ jobs: test-all-action: name: "All - Github Action Test" - runs-on: "${{ matrix.os }}" + runs-on: ${{ matrix.os }} strategy: matrix: os: - "ubuntu-latest" - "macos-latest" + - [ "self-hosted", "Linux", "ARM64" ] + - [ "self-hosted", "Linux", "X64" ] # TODO: test with different flox versions #flox-version: # - stable