[BetterSearch] Fix the post scaling buttons #215
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 | |
on: | |
push: | |
tags: | |
- '*' | |
- '!*.dev*' | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the Repository | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- name: Fetch the latest Git tag | |
uses: little-core-labs/[email protected] | |
- name: Set up Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- name: Install Project Dependencies | |
run: npm ci | |
- name: Compile Typescript | |
run: npm run compile-typescript:prod | |
- name: Compile SASS | |
run: npm run compile-sass:prod | |
- name: Build Userscript Files | |
run: npm run compose-userscript:prod | |
- name: Build Extension Files | |
run: npm run compose-extension:prod | |
- name: Create a Release | |
uses: ncipollo/release-action@v1 | |
with: | |
allowUpdates: true | |
artifacts: "./build/userscript/script.user.js,./build/userscript/script.meta.js,./build/userscript/altver.user.js,./build/userscript/altver.meta.js,./build/extension/re621.zip" | |
replacesArtifacts: true | |
omitBody: true | |
prerelease: false | |
token: ${{ secrets.GITHUB_TOKEN }} |