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 7552e37
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 14 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
27 changes: 18 additions & 9 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 @@ -43,11 +46,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: πŸ— Build
run: yarn build
run: pnpm build

prettier:
name: πŸͺž Prettier
Expand All @@ -64,11 +70,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: πŸ— 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 7552e37

Please sign in to comment.