Fixing order of installs in npm build

This commit is contained in:
Sahil Ahuja 2025-02-21 01:26:55 +05:30
parent fca761eb60
commit c1c97a4d3e

View File

@ -16,20 +16,20 @@ jobs:
contents: write contents: write
steps: steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 22 node-version: 22
registry-url: ${{ vars.NPM_REGISTRY }} registry-url: ${{ vars.NPM_REGISTRY }}
token: ${{ secrets.NPM_TOKEN }} token: ${{ secrets.NPM_TOKEN }}
- name: Install npm dependencies - run: npm install -g pnpm
run: |
npm install -g pnpm
pnpm install
- run: pnpm build_npm - uses: actions/checkout@v4
- name: Install npm dependencies and build
run: |
pnpm install
pnpm build_npm
- name: Increment package version and push - name: Increment package version and push
env: env: