Skip to content

Commit

Permalink
chore: use mise, Node 20 and corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaSemenov committed Oct 7, 2024
1 parent 1c576a4 commit aac86a0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Checkout
uses: actions/checkout@v4

- uses: pnpm/[email protected]
with:
version: 7.19.0
- name: Enable corepack
run: corepack enable

- uses: actions/[email protected]
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18.12.1
cache: "pnpm"
node-version: 20.18
cache: pnpm

- run: pnpm install --frozen-lockfile
- run: pnpm build
Expand Down
5 changes: 5 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[env]
MISE_NODE_COREPACK = 1

[tools]
node = "20.18"
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "grammy-scenes",
"description": "Nested named scenes for grammY",
"version": "0.0.0-development",
"packageManager": "[email protected]",
"repository": {
"type": "git",
"url": "https://github.com/IlyaSemenov/grammy-scenes"
Expand All @@ -19,6 +20,10 @@
"dist",
"src"
],
"engines": {
"node": "20",
"pnpm": "7"
},
"scripts": {
"build": "tsup",
"prepack": "npm run build",
Expand Down

0 comments on commit aac86a0

Please sign in to comment.