This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
Bump @types/node from 20.6.2 to 20.6.3 #964
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: Web Extension CI | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
- "public/**" | |
- ".github/**" | |
branches: | |
- master | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "public/**" | |
- ".github/**" | |
branches: | |
- master | |
workflow_dispatch: | |
env: | |
NODE_VERSION: 19.x | |
jobs: | |
lint: | |
continue-on-error: true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Node.js Setup | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: npm | |
- name: Node set-up | |
run: | | |
npm install --only=dev | |
- name: ESLint check | |
run: npm run lint | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
build_script: [build, build2] # dev] Temporarily disabled dev build | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Node.js Setup | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: yarn | |
- name: Node set-up | |
run: | | |
npm install --global yarn | |
yarn install | |
- name: Extension build | |
run: yarn ${{ matrix.build_script }} | |
env: | |
DEBUG_PRINTS: 1 | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ matrix.build_script }}.extension | |
path: ./dist | |
if-no-files-found: error |