0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00

chore(deps): pin dependencies (#3319)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2022-08-22 17:58:45 +02:00 committed by GitHub
parent 225b5235a9
commit 16f847fd7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 54 additions and 54 deletions

View file

@ -18,8 +18,8 @@ jobs:
name: Prepare build name: Prepare build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 16.x node-version: 16.x
- name: install pnpm - name: install pnpm
@ -33,7 +33,7 @@ jobs:
- name: install dependencies - name: install dependencies
run: pnpm install run: pnpm install
- name: Cache .pnpm-store - name: Cache .pnpm-store
uses: actions/cache@v3 uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@ -44,7 +44,7 @@ jobs:
- name: tar packages - name: tar packages
run: | run: |
tar -czvf ${{ github.workspace }}/pkg.tar.gz -C ${{ github.workspace }}/packages . tar -czvf ${{ github.workspace }}/pkg.tar.gz -C ${{ github.workspace }}/packages .
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
with: with:
name: verdaccio-artifact name: verdaccio-artifact
path: pkg.tar.gz path: pkg.tar.gz
@ -65,11 +65,11 @@ jobs:
name: Benchmark autocannon name: Benchmark autocannon
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 16.x node-version: 16.x
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # tag=v3
with: with:
name: verdaccio-artifact name: verdaccio-artifact
- name: untar packages - name: untar packages
@ -77,7 +77,7 @@ jobs:
- name: install pnpm - name: install pnpm
# require fixed version # require fixed version
run: sudo npm i pnpm@latest-6 -g run: sudo npm i pnpm@latest-6 -g
- uses: actions/cache@v3 - uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@ -90,7 +90,7 @@ jobs:
shell: bash shell: bash
env: env:
DEBUG: metrics* DEBUG: metrics*
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
with: with:
name: verdaccio-metrics-api name: verdaccio-metrics-api
path: ./api-results-${{matrix.verdaccioVersion}}-${{matrix.benchmark}}.json path: ./api-results-${{matrix.verdaccioVersion}}-${{matrix.benchmark}}.json
@ -126,11 +126,11 @@ jobs:
name: Benchmark hyperfine name: Benchmark hyperfine
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 16.x node-version: 16.x
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741 # tag=v3
with: with:
name: verdaccio-artifact name: verdaccio-artifact
- name: untar packages - name: untar packages
@ -138,7 +138,7 @@ jobs:
- name: install pnpm - name: install pnpm
# require fixed version # require fixed version
run: sudo npm i pnpm@latest-6 -g run: sudo npm i pnpm@latest-6 -g
- uses: actions/cache@v3 - uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@ -156,7 +156,7 @@ jobs:
shell: bash shell: bash
- name: rename - name: rename
run: mv ./hyper-results.json ./hyper-results-${{matrix.verdaccioVersion}}-${{matrix.benchmark}}.json run: mv ./hyper-results.json ./hyper-results-${{matrix.verdaccioVersion}}-${{matrix.benchmark}}.json
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # tag=v3
with: with:
name: verdaccio-metrics name: verdaccio-metrics
path: ./hyper-results-${{matrix.verdaccioVersion}}-${{matrix.benchmark}}.json path: ./hyper-results-${{matrix.verdaccioVersion}}-${{matrix.benchmark}}.json

View file

@ -20,12 +20,12 @@ jobs:
if: github.ref == 'refs/heads/master' && github.repository == 'verdaccio/verdaccio' if: github.ref == 'refs/heads/master' && github.repository == 'verdaccio/verdaccio'
steps: steps:
- name: checkout code repository - name: checkout code repository
uses: actions/checkout@v3 uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: setup node.js - name: setup node.js
uses: actions/setup-node@v3 uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 14 node-version: 14
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'

View file

@ -25,9 +25,9 @@ jobs:
ports: ports:
- 4873:4873 - 4873:4873
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- name: Use Node 16 - name: Use Node 16
uses: actions/setup-node@v3 uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 16 node-version: 16
- name: Install pnpm - name: Install pnpm
@ -39,7 +39,7 @@ jobs:
- name: Install - name: Install
run: pnpm recursive install --frozen-lockfile --registry http://localhost:4873 run: pnpm recursive install --frozen-lockfile --registry http://localhost:4873
- name: Cache .pnpm-store - name: Cache .pnpm-store
uses: actions/cache@v3 uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@ -50,14 +50,14 @@ jobs:
name: Lint name: Lint
needs: prepare needs: prepare
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- name: Use Node 16 - name: Use Node 16
uses: actions/setup-node@v3 uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 16 node-version: 16
- name: Install pnpm - name: Install pnpm
run: npm i pnpm@6.32.15 -g run: npm i pnpm@6.32.15 -g
- uses: actions/cache@v3 - uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@ -70,14 +70,14 @@ jobs:
name: Format name: Format
needs: prepare needs: prepare
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- name: Use Node 16 - name: Use Node 16
uses: actions/setup-node@v3 uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 16 node-version: 16
- name: Install pnpm - name: Install pnpm
run: npm i pnpm@6.32.15 -g run: npm i pnpm@6.32.15 -g
- uses: actions/cache@v3 - uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@ -95,14 +95,14 @@ jobs:
name: ${{ matrix.os }} / Node ${{ matrix.node_version }} name: ${{ matrix.os }} / Node ${{ matrix.node_version }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- name: Use Node ${{ matrix.node_version }} - name: Use Node ${{ matrix.node_version }}
uses: actions/setup-node@v3 uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: ${{ matrix.node_version }} node-version: ${{ matrix.node_version }}
- name: Install pnpm - name: Install pnpm
run: npm i pnpm@6.32.15 -g run: npm i pnpm@6.32.15 -g
- uses: actions/cache@v3 - uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@ -117,13 +117,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: UI Test E2E Node 16 name: UI Test E2E Node 16
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 16 node-version: 16
- name: Install pnpm - name: Install pnpm
run: npm i pnpm@6.32.15 -g run: npm i pnpm@6.32.15 -g
- uses: actions/cache@v3 - uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@ -140,13 +140,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: CLI Test E2E Node 16 name: CLI Test E2E Node 16
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 16 node-version: 16
- name: Install pnpm - name: Install pnpm
run: npm i pnpm@6.32.15 -g run: npm i pnpm@6.32.15 -g
- uses: actions/cache@v3 - uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
@ -165,13 +165,13 @@ jobs:
name: synchronize translations name: synchronize translations
if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch' if: (github.event_name == 'push' && github.ref == 'refs/heads/master') || github.event_name == 'workflow_dispatch'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- uses: actions/setup-node@v3 - uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 16 node-version: 16
- name: Install pnpm - name: Install pnpm
run: npm i pnpm@6.32.15 -g run: npm i pnpm@6.32.15 -g
- uses: actions/cache@v3 - uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
with: with:
path: ~/.pnpm-store path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}

View file

@ -21,7 +21,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
with: with:
# We must fetch at least the immediate parents so that if this is # We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head. # a pull request then we can checkout the head.
@ -34,7 +34,7 @@ jobs:
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@7fee4ca032ac341c12486c4c06822c5221c76533 # tag=v2
# Override language selection by uncommenting this and choosing your languages # Override language selection by uncommenting this and choosing your languages
# with: # with:
@ -42,7 +42,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or 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) # If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild - name: Autobuild
uses: github/codeql-action/autobuild@v2 uses: github/codeql-action/autobuild@7fee4ca032ac341c12486c4c06822c5221c76533 # tag=v2
# Command-line programs to run using the OS shell. # Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl # 📚 https://git.io/JvXDl
@ -56,4 +56,4 @@ jobs:
# make release # make release
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2 uses: github/codeql-action/analyze@7fee4ca032ac341c12486c4c06822c5221c76533 # tag=v2

View file

@ -15,11 +15,11 @@ jobs:
name: Run script name: Run script
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
with: with:
persist-credentials: false persist-credentials: false
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-node@v3 - uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 17.x node-version: 17.x
- name: install pnpm - name: install pnpm
@ -39,7 +39,7 @@ jobs:
- name: format - name: format
run: pnpm format run: pnpm format
- name: Commit & Push changes - name: Commit & Push changes
uses: actions-js/push@v1.3 uses: actions-js/push@a52398fac807b0c1e5f1492c969b477c8560a0ba # tag=v1.3
with: with:
github_token: ${{ secrets.TOKEN_VERDACCIOBOT_GITHUB }} github_token: ${{ secrets.TOKEN_VERDACCIOBOT_GITHUB }}
message: "chore: updated contributors list" message: "chore: updated contributors list"

View file

@ -19,8 +19,8 @@ jobs:
docker: docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- uses: docker/setup-qemu-action@v1 - uses: docker/setup-qemu-action@27d0a4f181a40b142cce983c5393082c365d1480 # tag=v1
- uses: docker/setup-buildx-action@v1 - uses: docker/setup-buildx-action@v1
with: with:
driver-opts: network=host driver-opts: network=host

View file

@ -16,15 +16,15 @@ jobs:
env: env:
NODE_OPTIONS: --max_old_space_size=4096 NODE_OPTIONS: --max_old_space_size=4096
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
- name: Use Node 16 - name: Use Node 16
uses: actions/setup-node@v3 uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
with: with:
node-version: 16 node-version: 16
- name: Cache pnpm modules - name: Cache pnpm modules
uses: actions/cache@v3 uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
env: env:
cache-name: cache-pnpm-modules cache-name: cache-pnpm-modules
with: with:
@ -33,7 +33,7 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}- ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-
- uses: pnpm/action-setup@v2.2.2 - uses: pnpm/action-setup@10693b3829bf86eb2572aef5f3571dcf5ca9287d # tag=v2.2.2
with: with:
version: 6.32.15 version: 6.32.15
run_install: | run_install: |
@ -42,7 +42,7 @@ jobs:
- name: Build Plugins - name: Build Plugins
run: pnpm build --filter "docusaurus-plugin-contributors" run: pnpm build --filter "docusaurus-plugin-contributors"
- name: Cache Docusaurus Build - name: Cache Docusaurus Build
uses: actions/cache@v3 uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # tag=v3
with: with:
path: website/node_modules/.cache/webpack path: website/node_modules/.cache/webpack
key: cache/webpack-${{github.ref}}-${{ hashFiles('**/pnpm-lock.yaml') }} key: cache/webpack-${{github.ref}}-${{ hashFiles('**/pnpm-lock.yaml') }}
@ -91,7 +91,7 @@ jobs:
- name: Audit preview URL with Lighthouse - name: Audit preview URL with Lighthouse
if: github.repository == 'verdaccio/verdaccio' if: github.repository == 'verdaccio/verdaccio'
id: lighthouse_audit id: lighthouse_audit
uses: treosh/lighthouse-ci-action@9.3.0 uses: treosh/lighthouse-ci-action@b4dfae3eb959c5226e2c5c6afd563d493188bfaf # tag=9.3.0
with: with:
urls: | urls: |
${{ steps.netlify_preview.outputs.preview-url }} ${{ steps.netlify_preview.outputs.preview-url }}
@ -100,7 +100,7 @@ jobs:
- name: Format lighthouse score - name: Format lighthouse score
id: format_lighthouse_score id: format_lighthouse_score
uses: actions/github-script@v6 uses: actions/github-script@d50f485531ba88479582bc2da03ff424389af5c1 # tag=v6
with: with:
github-token: ${{secrets.GITHUB_TOKEN}} github-token: ${{secrets.GITHUB_TOKEN}}
script: | script: |
@ -125,7 +125,7 @@ jobs:
- name: Add comment to PR - name: Add comment to PR
if: github.repository == 'verdaccio/verdaccio' if: github.repository == 'verdaccio/verdaccio'
id: comment_to_pr id: comment_to_pr
uses: marocchino/sticky-pull-request-comment@v2 uses: marocchino/sticky-pull-request-comment@39c5b5dc7717447d0cba270cd115037d32d28443 # tag=v2
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.issue.number }} number: ${{ github.event.issue.number }}