fix(deps): update dependency find-test-names to v1.28.28 #574
Workflow file for this run
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: ci | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout π | |
uses: actions/checkout@v4 | |
- name: Run tests π§ͺ | |
# https://github.com/cypress-io/github-action | |
uses: cypress-io/github-action@v6 | |
env: | |
DEBUG: 'cypress:server:specs' | |
- name: Check production dependencies π | |
# remove OR once dependencies don't trigger an alert | |
run: npm run prod-deps || true | |
# prints all specs | |
- name: Demo found specs π» | |
run: npm run demo | |
- name: Print dependencies between tests and utils π» | |
run: npm run deps | |
# module and import support | |
- name: Test module support | |
run: npm run demo-tests | |
working-directory: test-modules | |
# prints all specs and tests inside each spec | |
- name: Demo test names π» | |
run: npm run demo-names | |
- name: Demo test names in Markdown format π» | |
run: npm run demo-names-markdown | |
- name: Demo test names in Markdown format and put into job summary π» | |
run: npm run demo-names-markdown >> "$GITHUB_STEP_SUMMARY" | |
- name: Demo component test names 𧩠| |
run: npm run demo-component | |
- name: Demo tags π» | |
run: npm run demo-tags | |
- name: Demo test names and tags π» | |
run: npm run demo-names-and-tags | |
- name: Demo pending tests only π» | |
run: npm run demo-skipped-tests | |
- name: Demo count skipped tests π» | |
run: npm run demo-count-skipped-tests | |
- name: Demo names in json output π» | |
run: npm run demo-names-json | |
- name: Demo tags in json output π» | |
run: npm run demo-tags-json | |
- name: Demo with custom cypress config π» | |
run: npm run demo-custom-cypress-config | |
- name: Print specs changed against the main branch π³ | |
run: npm run print-changed-specs | |
- name: Count the specs changed against the main branch π³ | |
run: npm run count-changed-specs | |
- name: Load cypress.config.ts π€ | |
run: npm run demo-tests --prefix test-ts | |
- name: Test cypress.config.ts project | |
run: npm test --prefix test-ts | |
- name: Load cypress.config.ts with import keyword π€ | |
run: npm run demo-tests --prefix test-ts-import | |
- name: Test cypress.config.ts project with import keyword | |
run: npm test --prefix test-ts-import | |
- name: Trace TS path aliases demo | |
run: npm run deps --prefix test-ts-aliases | |
- name: Test cypress.json project (Cypress v9) | |
run: npm run demo-tests --prefix test-json | |
- name: Show finding specs by part of the test title | |
run: node ./bin/find.js --grep "something" --set-gha-outputs | |
- name: Test parsing broken JS file π | |
run: npm run test-names --prefix test-parsing-error | |
- name: Test exclusive tests βοΈ | |
run: npm run demo-exclusive | |
- name: Count all tags, including required | |
run: npm run count-all-tags | |
- name: Unit tests π§ͺ | |
run: npm test | |
- name: Find tests in subfolder | |
run: npm run demo-subfolder | |
- name: Confirm we can run specs in subfolder | |
uses: cypress-io/github-action@v5 | |
with: | |
# we have already installed all dependencies above | |
install: false | |
config-file: mocks/my-app/e2e/cypress.config.js | |
- name: Count all tests π | |
run: npm run demo-test-counts | |
- name: Show specs with tags | |
id: find-tagged | |
run: node ./bin/find --tagged @user --set-gha-outputs | |
- name: Print the found specs with tags | |
run: | | |
echo '${{ steps.find-tagged.outputs.taggedSpecsN }} Specs with tests tagged user' >> "$GITHUB_STEP_SUMMARY" | |
echo '${{ steps.find-tagged.outputs.taggedSpecs }}' >> "$GITHUB_STEP_SUMMARY" | |
- name: Semantic Release π | |
uses: cycjimmy/semantic-release-action@v3 | |
if: github.ref == 'refs/heads/main' | |
with: | |
branch: main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |