Skip to content

Update packages

Update packages #446

Workflow file for this run

name: test
on: [ push, pull_request ]
env:
CI: true
permissions:
contents: read
jobs:
test:
name: "Test on Node.js ${{ matrix.node-version }} x ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [ 18, 20, 22 ]
os: [ ubuntu-latest, windows-latest ]
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache: "yarn"
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install
- name: Test
run: yarn test
- name: Build webextension (Chrome)
run: npm run dist chrome
if: matrix.os == 'ubuntu-latest'
working-directory: packages/webextension