Skip to content

John/privacy policy

John/privacy policy #2

Workflow file for this run

name: Run Tests and Build
on:
pull_request:
branches:
- main
- dev
push:
branches:
- main
- dev
jobs:
unit-testing-extension:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Extension dependencies
run: |
cd extension
npm ci
- name: Build Extension
run: |
cd extension
npm run build
- name: Test Extension
run: |
cd extension
npm test
unit-testing-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Package dependencies
run: |
cd package
npm ci
- name: Build Package
run: |
cd package
npm run build
- name: Test Package
run: |
cd package
npm test