Skip to content

Commit

Permalink
add GHA configs
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Feb 16, 2024
1 parent 5e9306b commit e64c989
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on:
push:
pull_request:

env:
CI: true

jobs:
lint:
uses: NicTool/.github/.github/workflows/lint.yml@main

coverage:
uses: NicTool/.github/.github/workflows/coverage.yml@main
secrets: inherit

test:
needs: lint
uses: NicTool/.github/.github/workflows/test.yml@main
secrets: inherit
14 changes: 14 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: CodeQL

on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
schedule:
- cron: '18 7 * * 4'

jobs:
codeql:
uses: NicTool/.github/.github/workflows/codeql.yml@main
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: publish

on:
push:
branches:
- main
paths:
- package.json
release:
types: [published]

env:
CI: true

jobs:
publish:
uses: NicTool/.github/.github/workflows/publish.yml@main
secrets: inherit

0 comments on commit e64c989

Please sign in to comment.