...

Text file src/github.com/linkerd/linkerd2/.github/workflows/js.yml

Documentation: github.com/linkerd/linkerd2/.github/workflows

     1name: JS
     2
     3on:
     4  pull_request:
     5    paths:
     6      - .github/workflows/js.yml
     7      - bin/web*
     8      - web/app/**
     9
    10permissions:
    11  contents: read
    12
    13jobs:
    14  js-web-test:
    15    timeout-minutes: 30
    16    runs-on: ubuntu-22.04
    17    container:
    18      image: node:20-bookworm
    19    env:
    20      NODE_ENV: test
    21    steps:
    22      - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
    23      - name: Yarn setup
    24        shell: bash
    25        run: |
    26          bin/scurl --retry 2 https://yarnpkg.com/install.sh | bash -s -- --version 1.21.1 --network-concurrency 1
    27          echo PATH="$HOME/.yarn/bin:$PATH" >> "$GITHUB_ENV"
    28      - run: bin/web --frozen-lockfile
    29      - run: bin/web test --reporters="jest-progress-bar-reporter" --reporters="./gh_ann_reporter.js"

View as plain text