Skip to content

ci: Upgrade actions/upload-artifact to v4 #3

ci: Upgrade actions/upload-artifact to v4

ci: Upgrade actions/upload-artifact to v4 #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run format:check
- name: Test
run: npm test
- name: Zip
run: npm run zip
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: extension-build
path: |
chrome-extension.zip