Skip to content

Commit

Permalink
ci test (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
mym0404 committed Mar 14, 2024
2 parents fa30dff + 5ea57c6 commit 848fff2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ jobs:
with:
node-version: 20

- name: Cache dependencies
id: cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
${{ runner.os }}-node-
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --immutable

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
env:
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/static-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
check:
name: ESLint & Typescript & Test & Build
name: ESLint & Typescript & Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -42,7 +42,4 @@ jobs:
run: yarn check:type

- name: Test
run: yarn test

- name: Build
run: yarn build
run: yarn test

0 comments on commit 848fff2

Please sign in to comment.