Skip to content

Commit

Permalink
refactor: actions
Browse files Browse the repository at this point in the history
  • Loading branch information
guanbinrui committed Mar 6, 2024
1 parent 467dfe2 commit 96ddea1
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ lingui.config.js
postcss.config.cjs
tailwind.config.cjs

src/locales/**/*.js
src/locales/**/*.mjs
public/js
2 changes: 0 additions & 2 deletions .github/workflows/cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'true'

- name: Authenticate NPM
uses: DimensionDev/github-token-action@latest
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'true'

- name: Authenticate NPM
uses: DimensionDev/github-token-action@latest
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/lingui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'true'

- name: Authenticate NPM
uses: DimensionDev/github-token-action@latest
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'true'

- name: Authenticate NPM
uses: DimensionDev/github-token-action@latest
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'true'

- name: Authenticate NPM
uses: DimensionDev/github-token-action@latest
Expand All @@ -23,8 +21,9 @@ jobs:
with:
node-version: '18.9.0'

- name: Compile typescript files
run: npx tsc -p tsconfig.json --noEmit false
- uses: pnpm/action-setup@v2
- name: Install dependencies
run: pnpm install

- uses: pnpm/action-setup@v2
- name: Run unit tests
Expand Down

0 comments on commit 96ddea1

Please sign in to comment.