Skip to content

Commit

Permalink
Update to use pnpm and bump Nodejs version to v20
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardodantas committed Mar 28, 2024
1 parent 7870064 commit 13a58fc
Show file tree
Hide file tree
Showing 5 changed files with 4,410 additions and 4,031 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: '.nvmrc'
cache: "yarn"

- name: Install dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Lint
run: yarn lint
run: pnpm run lint
6 changes: 3 additions & 3 deletions .github/workflows/post-tweet-to-mastodon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: '.nvmrc'
cache: "yarn"

- name: Install dependencies
run: yarn install --frozen-lockfile
run: pnpm install --frozen-lockfile

- name: Run script
run: yarn start
run: pnpm run start
env:
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.13.0
v20
Loading

0 comments on commit 13a58fc

Please sign in to comment.