Skip to content

Commit

Permalink
Merge pull request #142 from H4ad/ci/doc-ci
Browse files Browse the repository at this point in the history
ci & packages
  • Loading branch information
H4ad authored Dec 22, 2023
2 parents 05e5b48 + 57f1e09 commit 1aaa771
Show file tree
Hide file tree
Showing 13 changed files with 4,052 additions and 5,359 deletions.
9 changes: 9 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/member-ordering": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
paths:
- '.github/workflows/**'
- '.github/workflows/docs.yml'
- 'www/**'
- 'src/**'
- 'scripts/**'
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,21 @@ name: Pull Request
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
paths:
- 'src/**'
- 'package-lock.json'
- 'package.json'
- 'tsconfig.json'
- 'tsconfig.*.json'
- 'vite.config.ts'

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 18.x, 20.x ]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
run: npm ci
if: ${{ steps.release.outputs.release_created }}

- name: Get Coverage Info
if: ${{ steps.release.outputs.release_created }}
run: npm run coverage

- name: NPM Publish
run: npm publish
if: ${{ steps.release.outputs.release_created }}
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs lts
nodejs 18.18.1
Loading

0 comments on commit 1aaa771

Please sign in to comment.