build(deps): bump apisec-inc/ethicalcheck-action from 005fac321dd843682b1af6b72f30caaf9952c641 to 6538d51caea53470bf8018e21f93414a70026f46 #114
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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
# This is a basic workflow to help you get started with Using Jscrambler Code Integrity Action. | |
# It automates the protection of your JavaScript Applications, so you can run it whenever a new version of your application is built. | |
# A Jscrambler account is required to use this Workflow. | |
# | |
# More info can be found here : https://docs.jscrambler.com/latest/code-integrity/documentation/github-ci-integration | |
name: Jscrambler Code Integrity | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "master" ] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2 | |
with: | |
node-version: 18 | |
- run: npm ci | |
- run: npm run build | |
- name: Jscrambler Code Integrity | |
id: jscrambler | |
# the complete list of inputs can be found here: https://github.com/marketplace/actions/jscrambler#inputs | |
uses: jscrambler/code-integrity-actions/protect@848fb3ce052c24843a94ab847e9ba8a1fd1b37a6 | |
with: | |
application-id: ${{ secrets.JSCRAMBLER_APPLICATION_ID }} # This value should be created within your Jscrambler account | |
secret-key: ${{ secrets.JSCRAMBLER_SECRET_KEY }} # This value can be found in your Jscrambler account | |
access-key: ${{ secrets.JSCRAMBLER_ACCESS_KEY }} # This value can be found in your Jscrambler account | |
jscrambler-config-path: jscrambler.json # Download from your Jscrambler account | |
files-src: | # List of Files to be protected | |
dist/**/* | |
files-dest: . |