File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow uses actions that are not certified by GitHub.
2+ # They are provided by a third-party and are governed by
3+ # separate terms of service, privacy policy, and support
4+ # documentation.
5+
6+ # This is a basic workflow to help you get started with Using Jscrambler Code Integrity Action.
7+ # It automates the protection of your JavaScript Applications, so you can run it whenever a new version of your application is built.
8+ # A Jscrambler account is required to use this Workflow.
9+ #
10+ # More info can be found here : https://docs.jscrambler.com/latest/code-integrity/documentation/github-ci-integration
11+
12+ name : Jscrambler Code Integrity
13+
14+ on :
15+ push :
16+ branches : [ "main" ]
17+ pull_request :
18+ # The branches below must be a subset of the branches above
19+ branches : [ "main" ]
20+
21+ permissions :
22+ contents : read
23+
24+ jobs :
25+ build :
26+ runs-on : ubuntu-latest
27+ permissions :
28+ contents : read
29+ steps :
30+ - uses : actions/checkout@v3
31+ - uses : actions/setup-node@v3
32+ with :
33+ node-version : 18
34+ - run : npm ci
35+ - run : npm run build
36+ - name : Jscrambler Code Integrity
37+ id : jscrambler
38+ # the complete list of inputs can be found here: https://github.com/marketplace/actions/jscrambler#inputs
39+ uses : jscrambler/code-integrity-actions/protect@ab65962a2ecffcc362b75a997e24a181d0bde5fb
40+ with :
41+ application-id : ${{ secrets.JSCRAMBLER_APPLICATION_ID }} # This value should be created within your Jscrambler account
42+ secret-key : ${{ secrets.JSCRAMBLER_SECRET_KEY }} # This value can be found in your Jscrambler account
43+ access-key : ${{ secrets.JSCRAMBLER_ACCESS_KEY }} # This value can be found in your Jscrambler account
44+ jscrambler-config-path : jscrambler.json # Download from your Jscrambler account
45+ files-src : | # List of Files to be protected
46+ dist/**/*
47+ files-dest : .
You can’t perform that action at this time.
0 commit comments