Update FUNDING.yml #32
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: Build Chrome extension | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-extension: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
# - name: Install packages | |
# run: npm install | |
# shell: bash | |
# - name: Install packages | |
# run: npm ci | |
# shell: bash | |
# - name: Build extension | |
# run: npm run build --if-present | |
# shell: bash | |
- name: Pack extension | |
working-directory: . | |
run: zip -r extension-${{ github.event.pull_request.head.sha }}.zip * | |
shell: bash | |
- name: Upload extension archive | |
uses: actions/upload-artifact@v3 | |
with: | |
name: extension-${{ github.sha }} | |
path: out/extension-${{ github.event.pull_request.head.sha }}.zip |