Skip to content

ELEMENTS-1692: disable unit tests using for firefox #1061

ELEMENTS-1692: disable unit tests using for firefox

ELEMENTS-1692: disable unit tests using for firefox #1061

Workflow file for this run

name: Test
on:
pull_request:
branches:
- maintenance-3.0.x
workflow_call:
inputs:
branch:
description: 'The current branch'
default: maintenance-3.0.x
type: string
required: false
secrets:
NPM_PACKAGES_TOKEN:
description: 'NPM_PACKAGES_TOKEN'
required: true
SAUCE_ACCESS_KEY:
description: 'SAUCE_ACCESS_KEY'
required: true
env:
BRANCH_NAME: ${{ github.head_ref || inputs.branch || 'maintenance-3.0.x' }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ env.BRANCH_NAME }}
- uses: actions/setup-node@v3
with:
node-version: 14
registry-url: 'https://packages.nuxeo.com/repository/npm-public/'
scope: '@nuxeo'
- name: Install
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGES_TOKEN }}
run: |
npm install --no-package-lock
npm run bootstrap
- name: Test
env:
SAUCE_USERNAME: nuxeo-elements
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: npm run test