chore(deps): update dependency cypress-expect to v3 #464
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: | |
tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v4 | |
- name: Setup node 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Cypress tests 🧪 | |
uses: cypress-io/github-action@v6 | |
with: | |
# check types | |
build: npm run lint | |
# use a custom command to conform all expected tests | |
# were correctly generated | |
# using https://www.npmjs.com/package/cypress-expect | |
command: npm test | |
- name: Semantic Release 🚀 | |
if: github.ref == 'refs/heads/main' | |
# https://github.com/cycjimmy/semantic-release-action | |
uses: cycjimmy/semantic-release-action@v4 | |
with: | |
branches: main | |
env: | |
# github token is automatically created by the GH Action workflow | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# created using semantic-release | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |