Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Merge pull request #314 from Esri/library-deprecation #48

Merge pull request #314 from Esri/library-deprecation

Merge pull request #314 from Esri/library-deprecation #48

Workflow file for this run

# install dependencies, run build and tests
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Install Firefox
uses: browser-actions/setup-firefox@latest
- name: Run tests
run: env FIREFOX_BIN=`which firefox` yarn ci