-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
```yml name: End-to-end tests on: [push] jobs: cypress-run: runs-on: ubuntu-latest # let's make sure our "app" works on several versions of Node strategy: matrix: node: [10, 12] name: E2E on Node v${{ matrix.node }} steps: - name: Setup Node uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - name: Checkout uses: actions/checkout@v1 # run Cypress tests and record them under the same run # associated with commit SHA and just give a different group name - name: Cypress run uses: cypress-io/github-action@v1 with: record: true group: Tests on Node v${{ matrix.node }} cache-key: node-v${{ matrix.node }}-on-${{ runner.os }}-hash-${{ hashFiles('yarn.lock') }} env: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} ``` * add link to more examples to readme * use precise restore key * feat: add cache-key parameter * add cache-key example to the readme
- Loading branch information
Showing
3 changed files
with
68 additions
and
6 deletions.
There are no files selected for viewing
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
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
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