Skip to content

Commit

Permalink
fix: code fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
shiv-source committed Oct 25, 2023
1 parent 371eb73 commit d0c9ae2
Show file tree
Hide file tree
Showing 4 changed files with 10,018 additions and 3,858 deletions.
34 changes: 10 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,14 @@ jobs:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- run: pnpm install
- run: pnpm test
cache: "npm"
- run: npm install
- run: npm run test

build:
needs: test
Expand All @@ -35,18 +32,14 @@ jobs:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
- run: pnpm install
- run: pnpm build
cache: "npm"
- run: npm install
- run: npm run build

release:
needs: [test, build]
Expand All @@ -65,19 +58,12 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup pnpm cache
uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
- run: pnpm install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: pnpm audit signatures
cache: "npm"
- run: npm install
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/release.yml

This file was deleted.

Loading

0 comments on commit d0c9ae2

Please sign in to comment.