Skip to content

Bump caniuse-lite from 1.0.30001593 to 1.0.30001615 #662

Bump caniuse-lite from 1.0.30001593 to 1.0.30001615

Bump caniuse-lite from 1.0.30001593 to 1.0.30001615 #662

Workflow file for this run

name: "Build and Deploy"
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.11.1]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
services:
seven23:
image: sebastienbarbier/seven23
env:
ALLOW_ACCOUNT_CREATION: True
ports:
# Maps tcp port 5432 on service container to the host
- 8000:8000
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm install caniuse-lite
- run: npm install
- run: npx browserslist@latest --update-db
- run: npm run build:no-progress --if-present
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
- run: npm run format
- run: npm run lint
- run: npm run test
# - run: npm run e2e:cli
- name: Cypress install
uses: cypress-io/github-action@v5.0.0 # use the explicit version number
with:
# Disable running of tests within install job
install-command: npm install
runTests: true
start: npm run serve:build http://127.0.0.1:8080
record: true
config-file: ./cypress/config/cypress.production.config.js
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v3.1.1
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
# Test run video was always captured, so this action uses "always()" condition
- uses: actions/upload-artifact@v3.1.1
if: failure()
with:
name: cypress-videos
path: cypress/videos
- name: Update gh-pages
if: github.ref == 'refs/heads/develop'
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
email: contact@sebastienbarbier.com
build_dir: build
cname: next.seven23.io
- name: "Predeploy"
if: github.ref == 'refs/heads/main'
run: npm run predeploy
- name: "Deploy with Swift"
if: github.ref == 'refs/heads/main'
env: # Set the secret as an input
OS_PASSWORD: ${{ secrets.OS_PASSWORD }}
OS_USERNAME: ${{ secrets.OS_USERNAME }}
OS_TENANT_ID: ${{ secrets.OS_TENANT_ID }}
OS_TENANT_NAME: ${{ secrets.OS_TENANT_NAME }}
run: npm run deploy