mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-11 02:15:57 -05:00
build: add missing os matrix (#1928)
This commit is contained in:
parent
8db6344ab4
commit
88604e217d
12 changed files with 167 additions and 138 deletions
|
@ -7,6 +7,7 @@ end_of_line = lf
|
|||
insert_final_newline = true
|
||||
|
||||
# 2 space indentation
|
||||
[{.,}*.{js,jsx,yml,yaml}]
|
||||
[{.,}*.{ts,tsx,js,jsx,yml,yaml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
quote_type = single
|
||||
|
|
21
.github/disabled/e2e-angular-cli-workflow.yml
vendored
21
.github/disabled/e2e-angular-cli-workflow.yml
vendored
|
@ -9,7 +9,12 @@ name: 'E2E Angular CLI with verdaccio'
|
|||
jobs:
|
||||
# todo: fix yarn global issue, cannot find ng
|
||||
# yarn:
|
||||
# name: 'yarn:angular example'
|
||||
# strategy:
|
||||
# fail-fast: false
|
||||
# matrix:
|
||||
# os: [ubuntu-latest, windows-latest]
|
||||
#
|
||||
# name: '${{ matrix.os }} / yarn:angular example'
|
||||
# runs-on: ${{ matrix.os }}
|
||||
#
|
||||
# steps:
|
||||
|
@ -42,7 +47,12 @@ jobs:
|
|||
#
|
||||
# ng build --aot
|
||||
npm:
|
||||
name: 'npm:angular example'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
|
||||
name: '${{ matrix.os }} / npm:angular example'
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
@ -81,7 +91,12 @@ jobs:
|
|||
|
||||
# pnpm throws errors worth to check why
|
||||
# pnpm:
|
||||
# name: 'pnpm:angular example'
|
||||
# strategy:
|
||||
# fail-fast: false
|
||||
# matrix:
|
||||
# os: [ubuntu-latest, windows-latest]
|
||||
#
|
||||
# name: '${{ matrix.os }} / pnpm:angular example'
|
||||
# runs-on: ${{ matrix.os }}
|
||||
#
|
||||
# steps:
|
||||
|
|
|
@ -8,7 +8,12 @@ on:
|
|||
name: 'E2E Gatsby.js CLI with verdaccio'
|
||||
jobs:
|
||||
npm:
|
||||
name: 'npm:gatsby example'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
|
||||
name: '${{ matrix.os }} / npm:gatsby example'
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
|
22
.github/disabled/e2e-jest-workflow.yml
vendored
22
.github/disabled/e2e-jest-workflow.yml
vendored
|
@ -8,7 +8,12 @@ on:
|
|||
name: 'E2E Jest with verdaccio'
|
||||
jobs:
|
||||
yarn:
|
||||
name: 'yarn:jest example'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
|
||||
name: '${{ matrix.os }} / yarn:jest example'
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
@ -39,7 +44,12 @@ jobs:
|
|||
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'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
|
||||
name: '${{ matrix.os }} / npm:jest example'
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
@ -72,7 +82,12 @@ jobs:
|
|||
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'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
|
||||
name: '${{ matrix.os }} / pnpm:jest example'
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
@ -104,4 +119,3 @@ jobs:
|
|||
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
|
||||
|
||||
|
|
4
.github/disabled/registry.yml
vendored
4
.github/disabled/registry.yml
vendored
|
@ -5,9 +5,9 @@ on:
|
|||
- cron: '0 4 * * 4'
|
||||
jobs:
|
||||
security:
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Test for public javascript library vulnerabilities
|
||||
uses: lirantal/is-website-vulnerable@1.15.10
|
||||
with:
|
||||
scan-url: "https://registry.verdaccio.org"
|
||||
scan-url: 'https://registry.verdaccio.org'
|
||||
|
|
2
.github/disabled/release-canary.yml
vendored
2
.github/disabled/release-canary.yml
vendored
|
@ -11,7 +11,7 @@ on:
|
|||
jobs:
|
||||
release:
|
||||
name: Release
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Use Node (latest)
|
||||
|
|
3
.github/workflows/changesets.yml
vendored
3
.github/workflows/changesets.yml
vendored
|
@ -1,4 +1,3 @@
|
|||
|
||||
name: Changesets
|
||||
|
||||
on:
|
||||
|
@ -20,7 +19,7 @@ jobs:
|
|||
# Update package versions from changesets.
|
||||
version:
|
||||
timeout-minutes: 15
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/5.x' && github.repository == 'verdaccio/verdaccio'
|
||||
steps:
|
||||
- name: checkout code repository
|
||||
|
|
5
.github/workflows/ci-website.yml
vendored
5
.github/workflows/ci-website.yml
vendored
|
@ -7,17 +7,16 @@ on:
|
|||
pull_request:
|
||||
paths:
|
||||
- .github/workflows/ci-website.yml
|
||||
- "website/**"
|
||||
- 'website/**'
|
||||
jobs:
|
||||
ci:
|
||||
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
node_version: [14]
|
||||
|
||||
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
|
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -4,25 +4,24 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- 5.x
|
||||
- "changeset-release/5.x"
|
||||
- 'changeset-release/5.x'
|
||||
pull_request:
|
||||
paths:
|
||||
- .github/workflows/ci.yml
|
||||
- "packages/**"
|
||||
- "jest/**"
|
||||
- "package.json"
|
||||
- "pnpm-workspace.yaml"
|
||||
- 'packages/**'
|
||||
- 'jest/**'
|
||||
- 'package.json'
|
||||
- 'pnpm-workspace.yaml'
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
node_version: [10, 12, 14]
|
||||
|
||||
name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
|
|
8
.github/workflows/codeql-analysis.yml
vendored
8
.github/workflows/codeql-analysis.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: "Code scanning - action"
|
||||
name: 'Code scanning - action'
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -11,9 +11,7 @@ on:
|
|||
|
||||
jobs:
|
||||
CodeQL-Build:
|
||||
|
||||
# CodeQL runs on ubuntu-latest and windows-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
@ -31,10 +29,10 @@ jobs:
|
|||
# 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
|
||||
|
|
|
@ -12,7 +12,7 @@ on:
|
|||
jobs:
|
||||
testDocker:
|
||||
name: Test Docker Build
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.1
|
||||
- name: Build
|
||||
|
@ -22,7 +22,7 @@ jobs:
|
|||
|
||||
# testVerdaccio:
|
||||
# name: Test Verdaccio Publish
|
||||
# runs-on: ${{ matrix.os }}
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v1
|
||||
# - name: Publish
|
||||
|
|
5
.github/workflows/docker-publish.yml
vendored
5
.github/workflows/docker-publish.yml
vendored
|
@ -14,7 +14,7 @@ on:
|
|||
jobs:
|
||||
testDocker:
|
||||
name: Test Docker Build
|
||||
runs-on: ${{ matrix.os }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Publish to GitHub Registry
|
||||
|
@ -24,5 +24,4 @@ jobs:
|
|||
username: ${{secrets.DOCKER_USERNAME}}
|
||||
password: ${{secrets.GITHUB_REGISTRY_TOKEN}}
|
||||
registry: docker.pkg.github.com
|
||||
tags: "5.x"
|
||||
|
||||
tags: '5.x'
|
||||
|
|
Loading…
Add table
Reference in a new issue