mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
99a39d55a2
* fix: update dependencies https://security.snyk.io/vuln/SNYK-JS-JSONWEBTOKEN-3180020 * chore: clean cache * Update ci.yml * Update ci.yml
31 lines
733 B
YAML
31 lines
733 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ci:
|
|
name: Node ${{ matrix.node_version }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node_version: [14, 16, 18, 19]
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3.0.2
|
|
- name: Use Node ${{ matrix.node_version }}
|
|
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # tag=v2.5.1
|
|
with:
|
|
node-version: ${{ matrix.node_version }}
|
|
- name: Install
|
|
run: yarn install --immutable
|
|
# - name: Format
|
|
# run: yarn format:check
|
|
- name: Build
|
|
run: yarn code:build
|
|
- name: Lint
|
|
run: yarn lint
|
|
- name: Test
|
|
run: yarn test
|