mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-13 22:48:31 -05:00
chore: remove unused workflows
This commit is contained in:
parent
6870f990c4
commit
2d13816254
5 changed files with 0 additions and 485 deletions
27
.github/workflows/ci-e2e.yml
vendored
27
.github/workflows/ci-e2e.yml
vendored
|
@ -1,27 +0,0 @@
|
||||||
name: E2E CLI
|
|
||||||
|
|
||||||
on: [pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
ci:
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest]
|
|
||||||
node_version: [14]
|
|
||||||
|
|
||||||
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2.3.1
|
|
||||||
- name: Use Node ${{ matrix.node_version }}
|
|
||||||
uses: actions/setup-node@v2.1.5
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node_version }}
|
|
||||||
- name: Install
|
|
||||||
run: yarn install --immutable
|
|
||||||
- name: Build
|
|
||||||
run: yarn code:build
|
|
||||||
- name: Test CLI
|
|
||||||
run: yarn run test:e2e:cli
|
|
52
.github/workflows/codeql-analysis.yml
vendored
52
.github/workflows/codeql-analysis.yml
vendored
|
@ -1,52 +0,0 @@
|
||||||
name: "Code scanning - action"
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 2 * * 4'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
CodeQL-Build:
|
|
||||||
|
|
||||||
# CodeQL runs on ubuntu-latest and windows-latest
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v2.3.3
|
|
||||||
with:
|
|
||||||
# We must fetch at least the immediate parents so that if this is
|
|
||||||
# a pull request then we can checkout the head.
|
|
||||||
fetch-depth: 2
|
|
||||||
|
|
||||||
# If this run was triggered by a pull request event, then checkout
|
|
||||||
# the head of the pull request instead of the merge commit.
|
|
||||||
- run: git checkout HEAD^2
|
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
|
||||||
- name: Initialize CodeQL
|
|
||||||
uses: github/codeql-action/init@v1
|
|
||||||
# Override language selection by uncommenting this and choosing your languages
|
|
||||||
# with:
|
|
||||||
# languages: go, javascript, csharp, python, cpp, java
|
|
||||||
|
|
||||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
|
||||||
# If this step fails, then you should remove it and run the build manually (see below)
|
|
||||||
- name: Autobuild
|
|
||||||
uses: github/codeql-action/autobuild@v1
|
|
||||||
|
|
||||||
# ℹ️ Command-line programs to run using the OS shell.
|
|
||||||
# 📚 https://git.io/JvXDl
|
|
||||||
|
|
||||||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
|
||||||
# and modify them (or add more) to build your code if your project
|
|
||||||
# uses a compiled language
|
|
||||||
|
|
||||||
#- run: |
|
|
||||||
# make bootstrap
|
|
||||||
# make release
|
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
|
||||||
uses: github/codeql-action/analyze@v1
|
|
153
.github/workflows/e2e-angular-cli-workflow.yml
vendored
153
.github/workflows/e2e-angular-cli-workflow.yml
vendored
|
@ -1,153 +0,0 @@
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 3 * * 5'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- '**'
|
|
||||||
|
|
||||||
name: 'E2E Angular CLI with verdaccio'
|
|
||||||
jobs:
|
|
||||||
# todo: fix yarn global issue, cannot find ng
|
|
||||||
# yarn:
|
|
||||||
# name: 'yarn:angular example'
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
#
|
|
||||||
# steps:
|
|
||||||
# - uses: actions/checkout@v2.3.3
|
|
||||||
#
|
|
||||||
# - name: 'Use Node.js 10.x'
|
|
||||||
# uses: actions/setup-node@v2.1.5
|
|
||||||
# with:
|
|
||||||
# node-version: 10.x
|
|
||||||
# - 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
|
|
||||||
# yarn init --yes
|
|
||||||
#
|
|
||||||
# yarn global add @angular/cli
|
|
||||||
# which nodemon
|
|
||||||
# ng new verdaccio-angular --interactive=false
|
|
||||||
#
|
|
||||||
# cd verdaccio-angular
|
|
||||||
# echo "registry=http://localhost:4873" > ~/.npmrc
|
|
||||||
# yarn add @angular-devkit/core@next @babel/preset-env @babel/core -D
|
|
||||||
#
|
|
||||||
# ng build --aot
|
|
||||||
npm:
|
|
||||||
name: 'npm:angular example'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2.3.3
|
|
||||||
|
|
||||||
- name: 'Use Node.js 14.x'
|
|
||||||
uses: actions/setup-node@v2.1.5
|
|
||||||
with:
|
|
||||||
node-version: 14.x
|
|
||||||
- name: 'install latest npm'
|
|
||||||
run: npm i -g npm@latest-6
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: yarn install
|
|
||||||
- name: 'Run verdaccio in the background'
|
|
||||||
run: |
|
|
||||||
nohup 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" > ~/.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 install -g @angular/cli
|
|
||||||
ng new verdaccio-angular --interactive=false
|
|
||||||
|
|
||||||
cd verdaccio-angular
|
|
||||||
npm install @angular-devkit/core@next @babel/preset-env @babel/core -D
|
|
||||||
|
|
||||||
npm run ng build --aot
|
|
||||||
npm7:
|
|
||||||
name: 'npm7:angular example'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2.3.3
|
|
||||||
|
|
||||||
- name: 'Use Node.js 14.x'
|
|
||||||
uses: actions/setup-node@v2.1.5
|
|
||||||
with:
|
|
||||||
node-version: 14.x
|
|
||||||
- name: 'install latest npm'
|
|
||||||
run: npm i -g npm@next-7
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: yarn install
|
|
||||||
- name: 'Run verdaccio in the background'
|
|
||||||
run: |
|
|
||||||
nohup 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" > ~/.npmrc
|
|
||||||
npm config set loglevel="silent"
|
|
||||||
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 install -g @angular/cli
|
|
||||||
ng new verdaccio-angular --interactive=false
|
|
||||||
|
|
||||||
cd verdaccio-angular
|
|
||||||
npm install @angular-devkit/core@next @babel/preset-env @babel/core -D
|
|
||||||
|
|
||||||
npm run ng build --aot
|
|
||||||
|
|
||||||
# pnpm throws errors worth to check why
|
|
||||||
# pnpm:
|
|
||||||
# name: 'pnpm:angular example'
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
#
|
|
||||||
# steps:
|
|
||||||
# - uses: actions/checkout@v2.3.3
|
|
||||||
#
|
|
||||||
# - name: 'Use Node.js 10.x'
|
|
||||||
# uses: actions/setup-node@v2.1.1
|
|
||||||
# with:
|
|
||||||
# node-version: 10.x
|
|
||||||
# - name: 'install latest pnpm'
|
|
||||||
# run: npm i -g pnpm
|
|
||||||
# - 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: |
|
|
||||||
# pnpm ping --registry http://localhost:4873
|
|
||||||
# - name: 'Running the integration test'
|
|
||||||
# run: |
|
|
||||||
# source scripts/e2e-setup-ci.sh
|
|
||||||
# pnpm init --force
|
|
||||||
#
|
|
||||||
# pnpm install -g @angular/cli
|
|
||||||
# ng new verdaccio-angular --interactive=false
|
|
||||||
#
|
|
||||||
# cd verdaccio-angular
|
|
||||||
# echo "registry=http://localhost:4873" > ~/.npmrc
|
|
||||||
# pnpm install @angular-devkit/core@next @babel/preset-env @babel/core -D
|
|
||||||
#
|
|
||||||
# pnpm run ng build --aot
|
|
44
.github/workflows/e2e-gatsbyjs-cli-workflow.yml
vendored
44
.github/workflows/e2e-gatsbyjs-cli-workflow.yml
vendored
|
@ -1,44 +0,0 @@
|
||||||
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.3
|
|
||||||
|
|
||||||
- name: 'Use Node.js 14.x'
|
|
||||||
uses: actions/setup-node@v2.1.5
|
|
||||||
with:
|
|
||||||
node-version: 14.x
|
|
||||||
- name: 'install latest npm'
|
|
||||||
run: npm i -g npm@latest-6
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: yarn install
|
|
||||||
- name: 'Run verdaccio in the background'
|
|
||||||
run: |
|
|
||||||
nohup 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="silent"
|
|
||||||
fetch-retries=10
|
|
||||||
fetch-retry-factor=2
|
|
||||||
fetch-retry-mintimeout=10000
|
|
||||||
fetch-retry-maxtimeout=80000" > ~/.npmrc
|
|
||||||
npm config list
|
|
||||||
npm i -g gatsby
|
|
||||||
gatsby new my-gatsby
|
|
||||||
cd my-gatsby
|
|
||||||
npm run build
|
|
209
.github/workflows/e2e-jest-workflow.yml
vendored
209
.github/workflows/e2e-jest-workflow.yml
vendored
|
@ -1,209 +0,0 @@
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 3 * * 5'
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- '**'
|
|
||||||
|
|
||||||
name: 'E2E Jest with verdaccio'
|
|
||||||
jobs:
|
|
||||||
yarn:
|
|
||||||
name: 'yarn:jest example'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2.3.3
|
|
||||||
|
|
||||||
- name: 'Use Node.js 10.x'
|
|
||||||
uses: actions/setup-node@v2.1.5
|
|
||||||
with:
|
|
||||||
node-version: 10.x
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: yarn install
|
|
||||||
- name: 'Run verdaccio in the background'
|
|
||||||
run: |
|
|
||||||
nohup 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
|
|
||||||
yarn init --yes
|
|
||||||
yarn add jest --registry http://localhost:4873
|
|
||||||
|
|
||||||
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
|
|
||||||
yarn jest pass.test.js
|
|
||||||
|
|
||||||
yarn add left-pad --registry http://localhost:4873 --verbose
|
|
||||||
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
|
|
||||||
yarn jest module.test.js
|
|
||||||
yarn2:
|
|
||||||
name: 'yarn2:jest example'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2.3.3
|
|
||||||
|
|
||||||
- name: 'Use Node.js 10.x'
|
|
||||||
uses: actions/setup-node@v2.1.5
|
|
||||||
with:
|
|
||||||
node-version: 10.x
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: yarn install
|
|
||||||
- name: 'Run verdaccio in the background'
|
|
||||||
run: |
|
|
||||||
nohup 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
|
|
||||||
yarn init --yes
|
|
||||||
yarn set version berry
|
|
||||||
yarn config set npmRegistryServer "http://localhost:4873"
|
|
||||||
yarn config set unsafeHttpWhitelist --json '["localhost"]'
|
|
||||||
yarn add jest@26.0.0
|
|
||||||
|
|
||||||
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
|
|
||||||
yarn jest pass.test.js
|
|
||||||
|
|
||||||
yarn add left-pad
|
|
||||||
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
|
|
||||||
yarn jest module.test.js
|
|
||||||
npm:
|
|
||||||
name: 'npm:jest example'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2.3.3
|
|
||||||
|
|
||||||
- name: 'Use Node.js 10.x'
|
|
||||||
uses: actions/setup-node@v2.1.5
|
|
||||||
with:
|
|
||||||
node-version: 10.x
|
|
||||||
- name: 'install latest npm'
|
|
||||||
run: npm i -g npm@latest-6
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: yarn install
|
|
||||||
- name: 'Run verdaccio in the background'
|
|
||||||
run: |
|
|
||||||
nohup 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
|
|
||||||
npm init --force
|
|
||||||
npm install jest --registry http://localhost:4873
|
|
||||||
|
|
||||||
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
|
|
||||||
yarn jest pass.test.js
|
|
||||||
|
|
||||||
yarn add left-pad --registry http://localhost:4873 --verbose
|
|
||||||
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
|
|
||||||
yarn jest module.test.js
|
|
||||||
npm7:
|
|
||||||
name: 'npm7:jest example'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2.3.3
|
|
||||||
|
|
||||||
- name: 'Use Node.js 10.x'
|
|
||||||
uses: actions/setup-node@v2.1.5
|
|
||||||
with:
|
|
||||||
node-version: 10.x
|
|
||||||
- name: 'install latest npm'
|
|
||||||
run: npm i -g npm
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: yarn install
|
|
||||||
- name: 'Run verdaccio in the background'
|
|
||||||
run: |
|
|
||||||
nohup 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
|
|
||||||
npm init --force
|
|
||||||
npm install jest --registry http://localhost:4873
|
|
||||||
|
|
||||||
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
|
|
||||||
yarn jest pass.test.js
|
|
||||||
|
|
||||||
yarn add left-pad --registry http://localhost:4873 --verbose
|
|
||||||
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
|
|
||||||
yarn jest module.test.js
|
|
||||||
|
|
||||||
pnpm:
|
|
||||||
name: 'pnpm:jest example'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2.3.3
|
|
||||||
|
|
||||||
- name: 'Use Node.js 10.x'
|
|
||||||
uses: actions/setup-node@v2.1.5
|
|
||||||
with:
|
|
||||||
node-version: 10.x
|
|
||||||
- name: 'install latest pnpm'
|
|
||||||
run: npm i -g pnpm
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: yarn install
|
|
||||||
- name: 'Run verdaccio in the background'
|
|
||||||
run: |
|
|
||||||
nohup node ./scripts/run-verdaccio.js &
|
|
||||||
- name: 'Ping to verdaccio'
|
|
||||||
run: |
|
|
||||||
pnpm ping --registry http://localhost:4873
|
|
||||||
- name: 'Running the integration test'
|
|
||||||
run: |
|
|
||||||
source scripts/e2e-setup-ci.sh
|
|
||||||
pnpm init --force
|
|
||||||
pnpm install jest --registry http://localhost:4873
|
|
||||||
|
|
||||||
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
|
|
||||||
yarn jest pass.test.js
|
|
||||||
|
|
||||||
yarn add left-pad --registry http://localhost:4873 --verbose
|
|
||||||
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
|
|
||||||
yarn jest module.test.js
|
|
||||||
pnpm6:
|
|
||||||
name: 'pnpm6:jest example'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2.3.3
|
|
||||||
|
|
||||||
- name: 'Use Node.js 12.x'
|
|
||||||
uses: actions/setup-node@v2.1.5
|
|
||||||
with:
|
|
||||||
node-version: 12.x
|
|
||||||
- name: 'install latest pnpm'
|
|
||||||
run: sudo npm i pnpm@dev -g
|
|
||||||
- name: Install Dependencies
|
|
||||||
run: yarn install
|
|
||||||
- name: 'Run verdaccio in the background'
|
|
||||||
run: |
|
|
||||||
nohup node ./scripts/run-verdaccio.js &
|
|
||||||
- name: 'Ping to verdaccio'
|
|
||||||
run: |
|
|
||||||
pnpm ping --registry http://localhost:4873
|
|
||||||
- name: 'Running the integration test'
|
|
||||||
run: |
|
|
||||||
source scripts/e2e-setup-ci.sh
|
|
||||||
pnpm init --force
|
|
||||||
pnpm install jest --registry http://localhost:4873
|
|
||||||
|
|
||||||
echo "it('should pass', () => { expect(true).toBeTruthy(); });" | tee pass.test.js
|
|
||||||
yarn jest pass.test.js
|
|
||||||
|
|
||||||
yarn add left-pad --registry http://localhost:4873 --verbose
|
|
||||||
echo "const leftPad = require('left-pad'); it('should resolve a module', () => { expect(typeof leftPad).toBe('function');});" | tee module.test.js
|
|
||||||
yarn jest module.test.js
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue