Skip to content

Fix/npm test (#139) #385

Fix/npm test (#139)

Fix/npm test (#139) #385

Workflow file for this run

# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Test and Build
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: "16.x"
cache: "npm"
# Install dependencies
- run: npm ci
# Use chrome manifest
- run: npm run useChrome
# Run tests
- run: npm run test