Skip to content

Commit

Permalink
Update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Mar 21, 2024
1 parent d8bcb5d commit 2aa2629
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ jobs:
registry-url: "https://registry.npmjs.org"

- name: Install dependencies
run: npm install
run: npm ci

- name: Run build
run: npm run build

- run: npm ci

- run: npm publish
- name: Publish to NPM package registry
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}

Expand All @@ -36,13 +35,12 @@ jobs:
registry-url: "https://npm.pkg.github.com"

- name: Install dependencies
run: npm install
run: npm ci

- name: Run build
run: npm run build

- run: npm ci

- run: npm publish
- name: Publish to Github package registry
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGE_REGISTRY_TOKEN }}

0 comments on commit 2aa2629

Please sign in to comment.