Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dynamically download the right act binary based on user os and architecture #31

Merged
merged 14 commits into from
Apr 27, 2023
1 change: 0 additions & 1 deletion .github/workflows/ci-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ jobs:
with:
node-version: 16
- run: npm install
- run: npm run prebuild
- run: npm run test:ci
14 changes: 9 additions & 5 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,26 @@ jobs:
strategy:
matrix:
node-version: [16.x]
os: [ubuntu-latest]
fail-fast: true
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Setup docker for macos
if: matrix.os == 'macos-latest'
run: |
brew install docker
colima start
echo DOCKER_HOST="unix:///${HOME}/.colima/default/docker.sock" >> $GITHUB_ENV
- name: Install packages
run: npm ci

- name: Install act
run: npm run prebuild

- name: Test
run: npm test

Expand Down
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const jestConfig: Config.InitialOptions = {
],
testLocationInResults: true,
testResultsProcessor: "jest-sonar-reporter",
testTimeout: 100000,
testTimeout: 120000,
testPathIgnorePatterns: ["<rootDir>/build"],
};
export default jestConfig;
Loading