Skip to content

Migrate to Parcel (#126) #76

Migrate to Parcel (#126)

Migrate to Parcel (#126) #76

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".tool-versions"
- name: Get the Yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install packages
run: yarn install --immutable
- name: Check formatting
run: yarn run format:check
- name: Lint the code
run: yarn run lint
- name: Build the code
run: yarn run build
- name: Lint the extension
run: yarn run web-ext lint
- name: Build the extension
run: yarn run web-ext build