mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
56981ff911
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.0.0 to v2.1.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2.0.0...1ae8f4b1fd89676f69b55d3dd6932b6df089ff7b) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
on:
|
|
schedule:
|
|
- cron: '0 3 * * 5'
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
|
|
name: 'E2E Gatsby.js CLI with verdaccio'
|
|
jobs:
|
|
npm:
|
|
name: 'npm:gatsby example'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2.3.1
|
|
|
|
- name: 'Use Node.js 10.x'
|
|
uses: actions/setup-node@v2.1.0
|
|
with:
|
|
node-version: 10.x
|
|
- name: 'install latest npm'
|
|
run: npm i -g npm
|
|
- name: Install Dependencies
|
|
run: yarn install --pure-lockfile
|
|
- name: 'Run verdaccio in the background'
|
|
run: |
|
|
nohup node ./scripts/run-verdaccio.js &
|
|
- 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" > ~/.npmrc
|
|
npm config set loglevel="http"
|
|
npm config set fetch-retries="5"
|
|
npm config set fetch-retry-factor="50"
|
|
npm config set fetch-retry-mintimeout="20000"
|
|
npm config set fetch-retry-maxtimeout="80000"
|
|
npm i -g gatsby
|
|
gatsby new my-gatsby --verbose
|
|
cd my-gatsby
|
|
npm run build
|