fix(deps): update all non-major dependencies #693
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: main | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Test, build and upload extension | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'latest' | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: Install dependencies | |
run: pnpm install | |
- name: Run tests | |
run: pnpm run test | |
- name: Build for Chrome | |
run: pnpm run build:chrome | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: chrome | |
path: 'dist/' | |
- name: Clean up | |
run: rm -rf dist | |
- name: Build for Firefox | |
run: pnpm run build:firefox | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: firefox | |
path: 'dist/' |