This repository has been archived by the owner on Nov 5, 2023. It is now read-only.
Merge pull request #608 from getwax/update-licenses-mit #283
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: extension | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'extension/**' | |
pull_request: | |
paths: | |
- 'extension/**' | |
defaults: | |
run: | |
working-directory: ./extension | |
env: | |
NODEJS_VERSION: 16.x | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODEJS_VERSION }} | |
cache: yarn | |
cache-dependency-path: extension/yarn.lock | |
- run: yarn install --frozen-lockfile | |
- run: yarn lint | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODEJS_VERSION }} | |
cache: yarn | |
cache-dependency-path: extension/yarn.lock | |
- run: cp config.example.json config.json | |
- run: yarn install --frozen-lockfile | |
# For now, just check that chrome builds | |
- run: yarn build:chrome |