Skip to content

Commit

Permalink
chore: updates build.yml and release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pavankjadda committed Jul 3, 2024
1 parent 57cf33f commit c4657ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
node: [ 'latest' ]
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
- uses: pnpm/action-setup@v4
with:
version: latest
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
- uses: pnpm/action-setup@v4
with:
version: latest

- name: Setup Node
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: 'latest'
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
node-version: ${{ matrix.node }}

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm i --frozen-lockfile

- name: Build packages
run: pnpm run build
Expand Down

0 comments on commit c4657ab

Please sign in to comment.