diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca64127..e3a0fc9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,13 +3,15 @@ name: Test on: push: branches: - - master + - main pull_request: + types: [opened, synchronize, reopened] branches: - - master + - main jobs: test: + if: github.event_name == 'push' || github.event_name == 'pull_request' runs-on: ubuntu-latest steps: @@ -27,8 +29,8 @@ jobs: - name: Prettier run: npm run prettier:check - - name: Stylelint - run: npm run stylelint:check + # - name: Stylelint + # run: npm run stylelint:check - name: Markdownlint run: npm run markdownlint:check diff --git a/assets/jsconfig.json b/assets/jsconfig.json index 377218c..d75583f 100644 --- a/assets/jsconfig.json +++ b/assets/jsconfig.json @@ -1,10 +1,8 @@ { - "compilerOptions": { - "baseUrl": ".", - "paths": { - "*": [ - "*" - ] + "compilerOptions": { + "baseUrl": ".", + "paths": { + "*": ["*"] + } } - } -} \ No newline at end of file +}