Skip to content

Switch issue templates to issue forms, add discussion link #350

Switch issue templates to issue forms, add discussion link

Switch issue templates to issue forms, add discussion link #350

Workflow file for this run

name: Run tests
on:
push:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16"
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Dependencies
run: npm ci
- name: Running lint and type check
run: npm run lint && npm run check-types
- name: Create build of test content script
run: npm run build
- name: Run the tests
run: npm run test