Skip to content

Commit

Permalink
Merge pull request #2 from TeskaLabs/refactor/workflow-with-pnpm
Browse files Browse the repository at this point in the history
Update the workflow
  • Loading branch information
Pe5h4 authored Feb 4, 2025
2 parents 3cd39b4 + 2e735a2 commit 5ebd9d7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/yarn.yml → .github/workflows/pnpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,18 @@ jobs:
registry-url: "https://registry.npmjs.org/"
always-auth: true

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: yarn install --frozen-lockfile
run: pnpm install --no-frozen-lockfile # Do not need a lock file for this library

- name: Build library
run: yarn build
run: pnpm build

- name: Publish to npm
if: startsWith(github.ref, 'refs/tags/') # Runs only when a tag is pushed
run: |
yarn publish --access public
pnpm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
node_modules
yarn.lock
yarn-error.log
pnpm-lock.yaml
pnpm-error.log
pnpm-debug.log
dist
.DS_Store
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG for ASAB WebUI Shell

## 25.1.5

- Replace yarn with pnpm in github workflow (!2)

## 25.1.3

### Refactor
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "asab_webui_shell",
"version": "25.1.4",
"version": "25.1.5",
"license": "BSD-3-Clause",
"description": "TeskaLabs ASAB WebUI Shell Application",
"main": "dist/index.js",
Expand Down

0 comments on commit 5ebd9d7

Please sign in to comment.