@samitouri / QOS-React-2 / commits / c01ac689e9

convert circleci worklfow fuzz_tests to github actions (#27801)

## Summary This pull request converts the CircleCI workflows to GitHub actions workflows. [Github Actions Importer](https://github.com/github/gh-actions-importer) was used to convert the workflows initially, then I edited them manually to correct errors in translation. ## How did you test this change? I tested these changes in a forked repo. You can [view the logs of this workflow in my fork](https://github.com/robandpdx/react/actions). https://fburl.com/workplace/f6mz6tmw

Rob Anderson committed Dec 12, 2023 at 14:55 UTC c01ac689e9628c952761ba0583d6c00ba5521c6a
1 file changed +32
.github/workflows/fuzz_tests.yml new
+32
@@ -0,0 +1,32 @@
1 +name: facebook/react/fuzz_tests
2 +on:
3 + schedule:
4 + - cron: 0 * * * *
5 + push:
6 + branches:
7 + - main
8 + workflow_dispatch:
9 + inputs:
10 + prerelease_commit_sha:
11 + required: false
12 +jobs:
13 + test_fuzz:
14 + if: inputs.prerelease_commit_sha == ''
15 + runs-on: ubuntu-latest
16 + env:
17 + TZ: "/usr/share/zoneinfo/America/Los_Angeles"
18 + steps:
19 + - uses: actions/checkout@v4.1.0
20 + - uses: actions/setup-node@v4
21 + with:
22 + node-version-file: '.nvmrc'
23 + cache: 'yarn'
24 + - name: Install dependencies
25 + run: yarn install --frozen-lockfile
26 + env:
27 + ELECTRON_SKIP_BINARY_DOWNLOAD: "1"
28 + shell: bash
29 + - name: Run fuzz tests
30 + run: |-
31 + FUZZ_TEST_SEED=$RANDOM yarn test fuzz --ci
32 + FUZZ_TEST_SEED=$RANDOM yarn test --prod fuzz --ci