mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-03 09:33:10 -07:00
fix releases to work on windows
This commit is contained in:
parent
59952c4e0a
commit
ce5dc0fce8
2 changed files with 7 additions and 4 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
|
@ -16,6 +16,7 @@ jobs:
|
|||
|
||||
- name: Get Node.js version from .nvmrc
|
||||
id: versions
|
||||
shell: bash
|
||||
run: |
|
||||
NODE_VERSION=$(cat .nvmrc)
|
||||
echo "node-version=$NODE_VERSION" >> $GITHUB_OUTPUT
|
||||
|
|
|
|||
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
|
@ -29,19 +29,21 @@ jobs:
|
|||
|
||||
- name: Get Node.js version from .nvmrc
|
||||
id: versions
|
||||
shell: bash
|
||||
run: |
|
||||
NODE_VERSION=$(cat .nvmrc)
|
||||
echo "node-version=$NODE_VERSION" >> $GITHUB_OUTPUT
|
||||
echo "📦 Using Node.js $NODE_VERSION from .nvmrc"
|
||||
|
||||
- name: Enable Corepack
|
||||
run: corepack enable
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ steps.versions.outputs.node-version }}
|
||||
cache: 'yarn'
|
||||
|
||||
- name: Enable Corepack and prepare Yarn
|
||||
run: |
|
||||
corepack enable
|
||||
corepack prepare yarn@4.9.4 --activate
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue