This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
Bump vite-plugin-top-level-await from 1.4.0 to 1.4.1 #1087
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/[email protected] | |
- name: Node.js setup | |
uses: actions/[email protected] | |
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/[email protected] | |
- name: Node.js setup | |
uses: actions/[email protected] | |
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/[email protected] | |
with: | |
name: ${{ matrix.build_script }}.extension | |
path: ./dist | |
if-no-files-found: error |