chore: update node version #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "build-test" | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- 'releases/*' | |
- develop | |
jobs: | |
test-build: # make sure build/ci work properly | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
npm install | |
npm run all | |
env: | |
INPUT_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
trial-run: # make sure the action works on a clean machine without building | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
with: | |
testng_results: __tests__/testng-results.mock.xml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
status_url: https://app.saucelabs.com/dashboard/tests/vdc | |
failed_threshold_percent: 10 | |
skipped_threshold_percent: 20 | |
status_label: Custom Label | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: testng-results-xml | |
path: ${{ github.workspace }}/__tests__/testng-results.mock.xml |