Skip to content

feat: Build / package extension - fix paths in HTML/JS (#2) #3

feat: Build / package extension - fix paths in HTML/JS (#2)

feat: Build / package extension - fix paths in HTML/JS (#2) #3

Workflow file for this run

# https://github.com/actions/starter-workflows/blob/main/ci/node.js.yml
name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
- name: Package the extension
uses: montudor/action-zip@v1
with:
zip -r extension.zip manifest.json assets lib options pages

Check failure on line 33 in .github/workflows/node.js.yml

View workflow run for this annotation

GitHub Actions / Node.js CI

Invalid workflow file

The workflow is not valid. .github/workflows/node.js.yml (Line: 33, Col: 9): Unexpected value 'zip -r extension.zip manifest.json assets lib options pages'
# args: zip -qq -r dir.zip dir
- uses: actions/upload-artifact@v4
with:
name: extension.zip
path: extension.zip
compression-level: 1 # low compression (range: 0...9)
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
# retention-days: 90
# End.