Skip to content

Commit

Permalink
chore: use mise 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 56a11d0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
13 changes: 7 additions & 6 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"
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 = "18.12.1"
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": "18",
"pnpm": "7"
},
"scripts": {
"build": "tsup",
"prepack": "npm run build",
Expand Down

0 comments on commit 56a11d0

Please sign in to comment.