File tree Expand file tree Collapse file tree 3 files changed +92
-0
lines changed
Expand file tree Collapse file tree 3 files changed +92
-0
lines changed Original file line number Diff line number Diff line change 1+ # To get started with Dependabot version updates, you'll need to specify which
2+ # package ecosystems to update and where the package manifests are located.
3+ # Please see the documentation for all configuration options:
4+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+ version : 2
7+ updates :
8+ - package-ecosystem : " npm" # See documentation for possible values
9+ directory : " /" # Location of package manifests
10+ schedule :
11+ interval : " weekly"
12+ day : " monday"
13+ time : " 06:00"
Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : [main]
4+ pull_request :
5+ branches : [main]
6+ release :
7+ types : [published]
8+
9+ jobs :
10+ build :
11+ name : Build
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v4
16+
17+ - name : Setup Node.js
18+ uses : actions/setup-node@v4
19+ with :
20+ node-version : 20
21+ registry-url : https://registry.npmjs.org/
22+ cache : npm
23+
24+ - name : Install latest NPM
25+ run : npm i -g npm@latest
26+
27+ - name : Install dependencies
28+ run : npm ci
29+
30+ - name : Build
31+ run : npm run build
32+ publish :
33+ name : Publish
34+ needs : build
35+ if : github.event_name == 'release'
36+ runs-on : ubuntu-latest
37+ steps :
38+ - run : npm version ${{ github.event.release.tag_name }} --git-tag-version=false
39+ - run : npm publish --provenance --access public
Original file line number Diff line number Diff line change 1+ name : " CodeQL"
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+ schedule :
9+ - cron : " 0 6 * * 1"
10+
11+ jobs :
12+ analyze :
13+ name : Analyse (${{ matrix.language }})
14+ runs-on : ' ubuntu-latest'
15+ timeout-minutes : 360
16+ permissions :
17+ security-events : write
18+ packages : read
19+ actions : read
20+ contents : read
21+
22+ strategy :
23+ fail-fast : false
24+ matrix :
25+ language : [javascript-typescript]
26+
27+ steps :
28+ - name : Checkout repository
29+ uses : actions/checkout@v4
30+
31+ - name : Initialise CodeQL
32+ uses : github/codeql-action/init@v3
33+ with :
34+ languages : ${{ matrix.language }}
35+ build-mode : ${{ matrix.build-mode }}
36+
37+ - name : Perform CodeQL analysis
38+ uses : github/codeql-action/analyze@v3
39+ with :
40+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments