update deps, linting, test cases, etc.
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
MD004:
|
||||
style: dash
|
||||
|
||||
# Increase the max line length limit
|
||||
MD013:
|
||||
line_length: 200
|
||||
|
||||
# Ordered list item prefix
|
||||
MD029:
|
||||
style: one
|
||||
|
||||
|
||||
@@ -42,22 +42,4 @@ jobs:
|
||||
- name: Test
|
||||
id: npm-ci-test
|
||||
run: npm run ci-test
|
||||
|
||||
test-action:
|
||||
name: GitHub Actions Test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
id: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Test Local Action
|
||||
id: test-action
|
||||
uses: ./
|
||||
with:
|
||||
milliseconds: 1000
|
||||
|
||||
- name: Print Output
|
||||
id: output
|
||||
run: echo "${{ steps.test-action.outputs.time }}"
|
||||
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
name: CodeQL
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: '31 7 * * 3'
|
||||
workflow_dispatch:
|
||||
# Disable until this is a public repo since advanced security is not enabled
|
||||
# push:
|
||||
# branches:
|
||||
# - main
|
||||
# pull_request:
|
||||
# branches:
|
||||
# - main
|
||||
# schedule:
|
||||
# - cron: '31 7 * * 3'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
|
||||
@@ -41,3 +41,4 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TYPESCRIPT_DEFAULT_STYLE: prettier
|
||||
VALIDATE_JSCPD: false
|
||||
FILTER_REGEX_EXCLUDE: .*/licenses\.txt$
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
name: 'release'
|
||||
on: # rebuild any PRs and main branch changes
|
||||
release:
|
||||
types: [created]
|
||||
jobs:
|
||||
package-and-publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checking out!
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Publish action package
|
||||
uses: ./
|
||||
Reference in New Issue
Block a user