This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
Bump vite from 5.0.10 to 5.0.11 #1102
Workflow file for this run
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@v4.1.0 | |
- name: Node.js setup | |
uses: actions/setup-node@v3.8.1 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: npm | |
- name: Dependencies download | |
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@v4.1.0 | |
- name: Node.js setup | |
uses: actions/setup-node@v3.8.1 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: yarn | |
- name: Dependencies download | |
run: | | |
npm install --global yarn | |
yarn install | |
- name: Extension build | |
run: yarn ${{ matrix.build_script }} | |
env: | |
DEBUG_PRINTS: 1 | |
- uses: actions/upload-artifact@v3.1.3 | |
with: | |
name: ${{ matrix.build_script }}.extension | |
path: ./dist | |
if-no-files-found: error |