Skip to content

Commit

Permalink
Merge pull request #134 from Enterwell/feat/pnpm-instead-of-yarn
Browse files Browse the repository at this point in the history
Switched to PNPM instead of yarn
  • Loading branch information
AleksandarDev authored Sep 3, 2024
2 parents 174932f + 4092317 commit 3af8399
Show file tree
Hide file tree
Showing 7 changed files with 2,217 additions and 1,936 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 18
- run: yarn install
- run: yarn build
- run: yarn test
- name: Enable Corepack
run: corepack enable
- run: pnpm install
- run: pnpm build
- run: pnpm test
8 changes: 5 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: yarn build
- run: yarn publish
- name: Enable Corepack
run: corepack enable
- run: pnpm install
- run: pnpm build
- run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
Expand Down Expand Up @@ -51,9 +49,6 @@ typings/
# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"engines": {
"node": ">=18"
},
"packageManager": "[email protected]",
"scripts": {
"build": "vite build",
"test": "cross-env NODE_ENV=test cypress run --component",
Expand Down
Loading

0 comments on commit 3af8399

Please sign in to comment.