Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: lint yarn lockfiles to analyze and detect security issues #6424

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ jobs:
fail-on-cache-miss: true
- name: Assert yarn prints no warnings
run: scripts/assert_no_yarn_warnings.sh
- name: Lint yarn lockfile
run: npx lockfile-lint --path yarn.lock --allowed-hosts npm yarn --validate-https
- name: Lint Code
run: yarn lint
- name: Lint Grafana dashboards
Expand Down Expand Up @@ -153,12 +155,12 @@ jobs:
matrix:
node: [20]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
check-latest: true
cache: yarn
cache: yarn

# # Remove when finished debugging core dumps
# - uses: './.github/actions/setup-debug-node'
Expand Down Expand Up @@ -188,7 +190,7 @@ jobs:
# Rever to "yarn test:unit" when finished debugging core dumps
# run: sudo sh -c "ulimit -c unlimited && /usr/bin/node-with-debug $(which yarn) test:unit"
run: yarn test:unit

# # Remove when finished debugging core dumps
# - uses: './.github/actions/core-dump'
# if: ${{ failure() && steps.unit_tests.conclusion == 'failure' }}
Expand Down Expand Up @@ -277,7 +279,7 @@ jobs:
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ github.sha }}
fail-on-cache-miss: true
- name: Install Chrome browser
run: npx @puppeteer/browsers install chromedriver@latest --path /tmp
run: npx @puppeteer/browsers install chromedriver@latest --path /tmp
- name: Install Firefox browser
run: npx @puppeteer/browsers install firefox@latest --path /tmp
- name: Browser tests
Expand Down Expand Up @@ -331,7 +333,7 @@ jobs:
working-directory: packages/beacon-node
- name: Spec tests bls
run: yarn test:spec:bls
working-directory: packages/beacon-node
working-directory: packages/beacon-node
- name: Spec tests minimal
run: yarn test:spec:minimal
working-directory: packages/beacon-node
Expand Down
Loading