chore(deps): update dependency prettier to v3 #86
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@v3 | |
- name: Run Cypress tests 🧪 | |
# https://github.com/cypress-io/github-action | |
uses: cypress-io/github-action@v5 | |
with: | |
command: npm test | |
# after the test run completes store the screenshots | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: cypress-screenshots | |
path: cypress/screenshots | |
release: | |
needs: [test] | |
runs-on: ubuntu-20.04 | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v3 | |
- name: Install only the semantic release 📦 | |
run: npm install semantic-release | |
- name: Semantic Release 🚀 | |
uses: cycjimmy/semantic-release-action@v2 | |
with: | |
branch: master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |