Skip to content

chore(deps): update all non-major dependencies #628

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #628

Workflow file for this run

name: test-e2e
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [14]
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@master
- name: Setup node env πŸ—
uses: actions/setup-node@v3.8.2
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: Get yarn cache directory path πŸ› 
id: yarn-cache-dir-path
run: cd nuxt && echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache node_modules πŸ“¦
uses: actions/cache@v3.3.3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Setup ddev
uses: jonaseberle/github-action-setup-ddev@v1
with:
autostart: false
- name: Start ddev
run: cd drupal && ddev start
- name: Install Drupal πŸ‘¨πŸ»β€πŸ’»
run: cd drupal && ddev drupal-install
- name: Install Nuxt.js πŸ‘¨πŸ»β€πŸ’»
run: cd nuxt && yarn
# - name: Run linting πŸ”Ž
# run: cd nuxt && yarn lint
# - name: Run Jest tests πŸ§ͺ
# run: cd nuxt && yarn test:jest
- name: Run end-to-end tests πŸ§ͺ
run: cd nuxt && NODE_TLS_REJECT_UNAUTHORIZED=0 yarn test:e2e
- uses: actions/upload-artifact@v3
if: failure()
with:
name: cypress-screenshots
path: nuxt/cypress/screenshots
- uses: actions/upload-artifact@v3
if: always()
with:
name: cypress-videos
path: nuxt/cypress/videos
# - uses: codecov/codecov-action@v3
# with:
# files: ./nuxt/coverage/clover.xml
# name: codecov-umbrella
# fail_ci_if_error: true
# verbose: true