mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
3755c0652a
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](0a44ba7841...39370e3970
)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
74 lines
2.3 KiB
YAML
74 lines
2.3 KiB
YAML
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
npm9:
|
|
name: 'npm9:gatsby example'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: 'Use Node.js'
|
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- name: 'install npm 9'
|
|
run: npm i -g npm@next-9
|
|
- name: Install Dependencies
|
|
run: yarn install
|
|
- name: 'Run verdaccio in the background'
|
|
run: |
|
|
nohup yarn node ./scripts/run-verdaccio.js --config ./scripts/e2e-config.yaml &
|
|
- name: 'Ping to verdaccio'
|
|
run: |
|
|
npm ping --registry http://localhost:4873
|
|
- name: 'Running the integration test'
|
|
run: |
|
|
source scripts/e2e-setup-ci.sh
|
|
echo "registry=http://localhost:4873
|
|
loglevel="info"
|
|
fetch-retries=10
|
|
fetch-retry-factor=2
|
|
fetch-retry-mintimeout=10000
|
|
fetch-retry-maxtimeout=80000" > ~/.npmrc
|
|
npm config list
|
|
npm i -g gatsby@latest
|
|
gatsby new my-gatsby
|
|
cd my-gatsby
|
|
npm run build
|
|
npm10:
|
|
name: 'npm10:gatsby example'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: 'Use Node.js'
|
|
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
- name: 'install npm 10'
|
|
run: npm i -g npm@next-10
|
|
- name: Install Dependencies
|
|
run: yarn install
|
|
- name: 'Run verdaccio in the background'
|
|
run: |
|
|
nohup yarn node ./scripts/run-verdaccio.js --config ./scripts/e2e-config.yaml &
|
|
- name: 'Ping to verdaccio'
|
|
run: |
|
|
npm ping --registry http://localhost:4873
|
|
- name: 'Running the integration test'
|
|
run: |
|
|
source scripts/e2e-setup-ci.sh
|
|
echo "registry=http://localhost:4873
|
|
loglevel="info"
|
|
fetch-retries=10
|
|
fetch-retry-factor=2
|
|
fetch-retry-mintimeout=10000
|
|
fetch-retry-maxtimeout=80000" > ~/.npmrc
|
|
npm config list
|
|
npm i -g gatsby@latest
|
|
gatsby new my-gatsby
|
|
cd my-gatsby
|
|
npm run build
|