1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-01 04:35:42 +02:00

chore(workflow): use node-version-file instead of hardcoded node-version (#15658)

* chore(workflow): use `node-version-file` instead of hardcoded `node-version`

* chore: test min version
This commit is contained in:
zyoshoka
2025-05-04 14:14:09 +09:00
committed by GitHub
parent 0884605b62
commit a5fa9a2cef
13 changed files with 38 additions and 56 deletions

View File

@@ -15,22 +15,17 @@ jobs:
contents: read
id-token: write
strategy:
matrix:
node-version: [22.11.0]
steps:
- uses: actions/checkout@v4.2.2
with:
submodules: true
- name: Setup pnpm
uses: pnpm/action-setup@v4.1.0
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js
uses: actions/setup-node@v4.4.0
with:
node-version: ${{ matrix.node-version }}
node-version-file: '.node-version'
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Publish package
run: |
pnpm i --frozen-lockfile