Skip to content

Commit

Permalink
chore: update test workflow and tsconfig (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljbc1994 authored Aug 22, 2022
1 parent ab73c08 commit 335f805
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
name: 'build-test'
name: Build and test

on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- 'releases/*'
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

jobs:
build: # make sure build/ci work properly
build-and-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3.4.1
with:
node-version: '14'
cache: 'yarn'

- run: |
yarn install --frozen-lockfile
- run: |
yarn all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
},
"exclude": ["node_modules", "**/*.test.ts"]
"exclude": ["node_modules", "**/*.test.ts", "vite.config.ts"]
}

0 comments on commit 335f805

Please sign in to comment.