mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Remove workaround in release flow (#13455)
This forces the release workflow to use `node@16.15` which includes `npm@8.5`.
This commit is contained in:
committed by
GitHub
parent
e7ff94b55f
commit
ed97f8bf97
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -40,13 +40,9 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '16'
|
||||
node-version: '16.15'
|
||||
cache: npm
|
||||
|
||||
# See https://github.com/npm/cli/issues/3637
|
||||
- name: Downgrade NPM
|
||||
run: npm i -g npm@7.20.2
|
||||
|
||||
- name: Setup NPM cache
|
||||
uses: c-hive/gha-npm-cache@v1
|
||||
|
||||
@@ -83,14 +79,10 @@ jobs:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '16'
|
||||
node-version: '16.15'
|
||||
registry-url: https://registry.npmjs.org
|
||||
cache: npm
|
||||
|
||||
# See https://github.com/npm/cli/issues/3637
|
||||
- name: Downgrade NPM
|
||||
run: npm i -g npm@7.20.2
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
|
||||
Reference in New Issue
Block a user