mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
Delete upstream workflows
This fork does not ship upstream's releases, and its hosted-runner jobs never start here. Claude-Session: https://claude.ai/code/session_01HuMDfgFssPUptYUzgZ6Cp8
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
name: Broken Links Scan
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
remark:
|
||||
name: Remark
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
|
||||
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Install dependencies
|
||||
run: yes | npx npq install --immutable
|
||||
env:
|
||||
NPQ_PKG_MGR: yarn
|
||||
- run: yarn remark -r .remarkrc.nightly.mjs .
|
||||
@@ -1,42 +0,0 @@
|
||||
name: Doclint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- '.github/workflows/docs.yml'
|
||||
- '.markdownlintrc'
|
||||
- '.remarkignore'
|
||||
- '.remarkrc.mjs'
|
||||
- '.retext-spell.dic'
|
||||
- 'package.json'
|
||||
- 'docs/**'
|
||||
- '**.md'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths:
|
||||
- '.github/workflows/docs.yml'
|
||||
- '.markdownlintrc'
|
||||
- '.remarkignore'
|
||||
- '.remarkrc.mjs'
|
||||
- '.retext-spell.dic'
|
||||
- 'package.json'
|
||||
- 'docs/**'
|
||||
- '**.md'
|
||||
|
||||
jobs:
|
||||
markdownlint:
|
||||
name: Markdown
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
|
||||
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Install dependencies
|
||||
run: yes | npx npq install --immutable
|
||||
env:
|
||||
NPQ_PKG_MGR: yarn
|
||||
- run: yarn docs:lint
|
||||
@@ -1,30 +0,0 @@
|
||||
name: Looking for Contributors
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
jobs:
|
||||
add-comment:
|
||||
if: contains(github.event.label.name, 'looking for contributors')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- name: Add comment
|
||||
run: |
|
||||
gh issue comment ${{ github.event.issue.number }} --body "Hello! We appreciate you bringing this issue to our attention.
|
||||
It looks like this could be a valuable addition or fix to our project.
|
||||
We believe that this feature would benefit greatly from contributions from the community,
|
||||
even from first-time contributors.
|
||||
|
||||
If you're interested in contributing to this feature,
|
||||
please take a look at our [contribution guide](https://wix.github.io/Detox/docs/next/contributing).
|
||||
It has all the information you need to know about how to submit a pull request and contribute to our project.
|
||||
|
||||
You're also welcome to join our [Discord server](https://discord.gg/CkD5QKheF5)
|
||||
and discuss this feature with the collaborators or other contributors under the channel 'contributions'.
|
||||
|
||||
Please feel free to reach out to us if you have any questions, or need help with anything.
|
||||
We appreciate your feedback and look forward to working with you!"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -1,92 +0,0 @@
|
||||
name: Rapid Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- '.github/workflows/rapid-test.yml'
|
||||
- 'detox/**'
|
||||
- 'generation/**'
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths:
|
||||
- '.github/workflows/rapid-test.yml'
|
||||
- 'detox/**'
|
||||
- 'generation/**'
|
||||
|
||||
jobs:
|
||||
|
||||
linux:
|
||||
name: Linux
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
|
||||
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Install dependencies
|
||||
run: yes | npx npq install --immutable
|
||||
env:
|
||||
NPQ_PKG_MGR: yarn
|
||||
DETOX_DISABLE_POD_INSTALL: true
|
||||
DETOX_DISABLE_POSTINSTALL: true
|
||||
- name: Lint source project
|
||||
run: yarn lint
|
||||
working-directory: detox
|
||||
- name: Lint test project
|
||||
run: yarn lint
|
||||
working-directory: detox/test
|
||||
- name: Typings
|
||||
run: yarn test
|
||||
working-directory: detox/test
|
||||
- name: Unit tests
|
||||
run: yarn unit
|
||||
working-directory: detox
|
||||
- name: Integration tests
|
||||
run: yarn integration
|
||||
working-directory: detox/test
|
||||
- name: Generation tests
|
||||
run: yarn test
|
||||
working-directory: generation
|
||||
- name: Pack Allure results
|
||||
run: zip -r allure-results.zip detox/allure-results detox/test/allure-results generation/allure-results
|
||||
- name: Upload Allure results
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
with:
|
||||
name: allure-results-linux
|
||||
path: allure-results.zip
|
||||
|
||||
windows:
|
||||
name: Windows
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
|
||||
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Install dependencies
|
||||
run: echo y | npx npq install --immutable
|
||||
shell: bash
|
||||
env:
|
||||
NPQ_PKG_MGR: yarn
|
||||
DETOX_DISABLE_POD_INSTALL: true
|
||||
DETOX_DISABLE_POSTINSTALL: true
|
||||
- name: Unit tests
|
||||
run: yarn unit --coverageThreshold "{}"
|
||||
working-directory: detox
|
||||
- name: Integration tests
|
||||
run: yarn integration
|
||||
working-directory: detox/test
|
||||
- name: Pack Allure results
|
||||
run: |
|
||||
Compress-Archive -Path detox/allure-results -DestinationPath allure-results.zip
|
||||
shell: pwsh
|
||||
- name: Upload Allure results
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
|
||||
with:
|
||||
name: allure-results-windows
|
||||
path: allure-results.zip
|
||||
@@ -1,26 +0,0 @@
|
||||
name: Reproduction Required
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- labeled
|
||||
jobs:
|
||||
add-comment:
|
||||
if: contains(github.event.label.name, 'reproduction required')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- name: Add comment
|
||||
run: |
|
||||
gh issue comment ${{ github.event.issue.number }} --body "Hello! We appreciate you bringing this issue to our attention.
|
||||
|
||||
To assist our collaborators or contributors in identifying and resolving the problem,
|
||||
it would be helpful if you could provide a minimal reproduction of the issue.
|
||||
|
||||
We recommend using our React Native template,
|
||||
which can be found at https://github.com/wix-incubator/detoxtemplate,
|
||||
but any minimal reproduction project would be appreciated.
|
||||
|
||||
Your help is greatly appreciated. Thank you for your support!"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -1,27 +0,0 @@
|
||||
name: 'Support Requests'
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [labeled, unlabeled, reopened]
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
action:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Add comment and close issue
|
||||
if: "${{ github.event.action == 'labeled' && contains(github.event.label.name, 'type: question/stack overflow') }}"
|
||||
run: |
|
||||
gh issue comment ${{ github.event.issue.number }} --body "This issue appears to be a general usage or support question.
|
||||
|
||||
In order to get help, please either ask a question on Stack Overflow with the [\`detox\`](https://stackoverflow.com/questions/tagged/detox) tag,
|
||||
or simply join our [Discord](https://discord.com/invite/CkD5QKheF5).
|
||||
|
||||
**Feel free to post your Stack Overflow question here for more visibility!**
|
||||
|
||||
For more information about our policy on issues, refer to [this discussion](https://github.com/wix/Detox/issues/1305)."
|
||||
gh issue close ${{ github.event.issue.number }}
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -1,29 +0,0 @@
|
||||
name: Purge old domains
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
days:
|
||||
description: 'Older than (days)'
|
||||
required: false
|
||||
|
||||
schedule:
|
||||
- cron: '0 3 * * *'
|
||||
jobs:
|
||||
surge-purge:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
|
||||
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Install dependencies
|
||||
run: yes | npx npq install --immutable
|
||||
env:
|
||||
NPQ_PKG_MGR: yarn
|
||||
- name: Teardown old domains
|
||||
run: yarn zx scripts/purge_expired_domains.mjs --olderThan ${{ github.event.inputs.days || '10' }}
|
||||
env:
|
||||
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}
|
||||
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
|
||||
@@ -1,64 +0,0 @@
|
||||
name: Website
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [master]
|
||||
paths:
|
||||
- '.github/workflows/website.yml'
|
||||
- 'docs/**'
|
||||
- 'website/**'
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- '.github/workflows/website.yml'
|
||||
- 'docs/**'
|
||||
- 'website/**'
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
if: github.event_name != 'push'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
|
||||
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Install and build
|
||||
working-directory: ./website
|
||||
env:
|
||||
NPQ_PKG_MGR: yarn
|
||||
run: |
|
||||
yes | npx npq install
|
||||
yarn build
|
||||
gh-release:
|
||||
if: github.event_name != 'pull_request'
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
|
||||
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
- name: Setup SSH
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.GH_PAGES_DEPLOY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||
- name: Release to GitHub Pages
|
||||
env:
|
||||
USE_SSH: true
|
||||
GIT_USER: git
|
||||
NPQ_PKG_MGR: yarn
|
||||
run: |
|
||||
git config --global user.email "[email protected]"
|
||||
git config --global user.name "mobilewix"
|
||||
cd website/
|
||||
yes | npx npq install
|
||||
yarn build
|
||||
yarn docusaurus deploy
|
||||
Reference in New Issue
Block a user