Skip to content

Upgrade Yarn to v4 (#63) #128

Upgrade Yarn to v4 (#63)

Upgrade Yarn to v4 (#63) #128

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Get the Yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.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