Skip to content

chore(deps-dev): bump @types/chrome from 0.0.283 to 0.0.284 #1974

chore(deps-dev): bump @types/chrome from 0.0.283 to 0.0.284

chore(deps-dev): bump @types/chrome from 0.0.283 to 0.0.284 #1974

Workflow file for this run

name: Artifact Upload
on:
pull_request:
types:
- opened
- reopened
- synchronize
- labeled
jobs:
artifact-upload:
if: contains(github.event.pull_request.labels.*.name, 'package')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set version and SHA
run: |
VERSION=$(node -p "require('./package.json').version")
echo "VERSION=$VERSION" >> "$GITHUB_ENV"
SHA=$(git rev-parse --short ${{ github.event.pull_request.head.sha }})
echo "SHA=$SHA" >> "$GITHUB_ENV"
echo $VERSION
echo $SHA
- uses: actions/setup-node@v3
with:
node-version-file: '.tool-versions'
cache: 'npm'
cache-dependency-path: ./package-lock.json
- name: Install dependencies in repo root
run: npm ci
working-directory: .
- name: Build packages
run: npm run package -- --simple
- name: Uncompress packages
run: |
for PLATFORM in firefox chromium; do
mkdir web-ext-artifacts/ghostery-$PLATFORM
unzip "web-ext-artifacts/ghostery-$PLATFORM.zip" -d "web-ext-artifacts/ghostery-$PLATFORM"
done
- name: Upload Chromium build
uses: actions/upload-artifact@v3
with:
name: ghostery-chromium-${{ env.VERSION }}-${{ env.SHA }}
path: web-ext-artifacts/ghostery-chromium/*
if-no-files-found: error
- name: Upload Firefox build
uses: actions/upload-artifact@v3
with:
name: ghostery-firefox-${{ env.VERSION }}-${{ env.SHA }}
path: web-ext-artifacts/ghostery-firefox/*
if-no-files-found: error