chore(deps): update dependency eslint-plugin-cypress to v2.15.2 #480
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: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
- beta | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: Install and Build | |
run: | | |
npm ci --production=false # We also need to install dev dependencies for the build | |
npm run build | |
env: | |
REPOSITORY_NAME: ${{ github.event.repository.name }} | |
NODE_ENV: production | |
- name: Create archive as a preparation for the release | |
run: zip -r release.zip dist/** | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Release to GitHub | |
run: npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Deploy 🚀 | |
if: ${{ github.ref == 'refs/heads/main' }} | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist | |
git-config-name: Carsten Hoffmann | |
git-config-email: [email protected] |