chore: increase the strict min version on firefox #42
Workflow file for this run
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 and Release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
- 'force-release' | |
jobs: | |
build-and-release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Setup node 🔨 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 12 | |
registry-url: https://registry.npmjs.org/ | |
- name: Install, Test and Build 🔧 | |
run: | | |
npm install | |
npm test | |
npm run build | |
- name: Package 📦 | |
run: | | |
npm run package:all | |
packages="$(ls -d distract_me_not-*.zip --format=across)" | |
# the following lines are only required for multi line | |
packages="${packages//'%'/'%25'}" | |
packages="${packages//$'\n'/'%0A'}" | |
packages="${packages//$'\r'/'%0D'}" | |
# end of optional handling for multi line | |
echo "::set-output name=PACKAGES::$packages" | |
id: package | |
- name: List packages 🔍 | |
run: | | |
echo "Packages: ${{ steps.package.outputs.PACKAGES }}" | |
- name: Upload to release 💾 | |
uses: meeDamian/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
files: ${{ steps.package.outputs.PACKAGES }} | |
gzip: folders | |
allow_override: true |