Skip to content

Commit

Permalink
ci: remove yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
luismeyer committed Jan 29, 2024
1 parent 516d762 commit 3abe9a9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,20 @@ jobs:
always-auth: true
registry-url: 'https://registry.npmjs.org'

- name: 📥 Download deps
run: yarn
- uses: pnpm/action-setup@v2
name: 📥 Download deps
with:
version: 8
run_install: true

- name: 🧪 Test
run: yarn test
run: pnpm test
env:
AWS_ACCESS_KEY_ID: 'test'
AWS_SECRET_ACCESS_KEY: 'test'

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

- name: 📢 Publish
run: npm publish
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ jobs:
with:
node-version: '16.x'

- name: 📥 Download deps
run: yarn
- uses: pnpm/action-setup@v2
name: 📥 Download deps
with:
version: 8
run_install: true

- name: 🧪 Test
run: yarn test
run: pnpm test
env:
AWS_ACCESS_KEY_ID: 'test'
AWS_SECRET_ACCESS_KEY: 'test'
Expand All @@ -44,10 +47,10 @@ jobs:
node-version: '16.x'

- name: 📥 Download deps
run: yarn
run: pnpm

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

prettier:
name: 🪞 Prettier
Expand All @@ -65,10 +68,10 @@ jobs:
node-version: '16.x'

- name: 📥 Download deps
run: yarn
run: pnpm

- name: 🏗 Prettier
run: yarn prettier
run: pnpm prettier

bump:
name: ⬆️ Bump Version
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Simple DynamoDB client written in TypeScript.
Install the package

```bash
yarn add duenamodb
pnpm install duenamodb
```

```bash
Expand Down

0 comments on commit 3abe9a9

Please sign in to comment.