chore: github action secrets #5
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: End-to-end tests 🧪 | |
on: [push] | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Write the cypress.env.json file 📝 | |
# use quotes around the secret, as its value | |
# is simply inserted as a string into the command | |
run: | | |
echo '${{ secrets.CYPRESS_ENV_CI }}' > cypress.env.json | |
# Install NPM dependencies, cache them correctly | |
# and run all Cypress tests | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 |