Skip to content

Commit

Permalink
chore: npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
9renpoto committed Dec 31, 2023
1 parent e5f1c32 commit 57ad9df
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
cache: 'npm'
- run: npm ci

- run: npm run build
- run: npm run lint
Expand All @@ -43,8 +43,14 @@ jobs:
"npx http-server packages/ui/storybook-static --port 6006 --silent" \
"npx wait-on tcp:6006 && npm test"
- name: Codecov
uses: codecov/codecov-action@v3
- name: compressed-size-action
uses: preactjs/[email protected]
with:
repo-token: "${{ secrets.github_token }}"
pattern: "./packages/ui/lib/**/*.{js,css,html,json}"
exclude: "{**/*.map,**/node_modules/**}"

- uses: codecov/codecov-action@v3

chromatic-deployment:
runs-on: ubuntu-latest
Expand All @@ -59,14 +65,4 @@ jobs:
with:
token: ${{ secrets.github_token }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
compressed-size:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: compressed-size-action
uses: preactjs/[email protected]
with:
repo-token: "${{ secrets.github_token }}"
pattern: "./packages/ui/lib/**/*.{js,css,html,json}"
exclude: "{**/*.map,**/node_modules/**}"

0 comments on commit 57ad9df

Please sign in to comment.