* ci: add minimum GitHub token permissions for workflows
Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>

* feat: use esbuild for minification

Co-authored-by: Ashish Kurmi <akurmi@stepsecurity.io>
This commit is contained in:
Barış Soner Uşaklı
2022-10-06 07:51:13 -04:00
committed by GitHub
parent 1b89b6615c
commit 02ef3e974c
4 changed files with 24 additions and 0 deletions

View File

@@ -11,6 +11,9 @@ on:
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
permissions:
contents: read
jobs:
release:
runs-on: ubuntu-latest

View File

@@ -14,8 +14,14 @@ defaults:
run:
shell: bash
permissions:
contents: read
jobs:
test:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
name: Lint and test
strategy:
fail-fast: false
@@ -194,6 +200,8 @@ jobs:
parallel: true
finish:
permissions:
checks: write # for coverallsapp/github-action to create new checks
needs: test
runs-on: ubuntu-latest
steps: