diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 8617283..de4dc11 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -1,20 +1,26 @@ name: Pull Request -on: [pull_request] +on: + pull_request: jobs: build: runs-on: ubuntu-latest + steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Setup Node.js - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4 + uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 with: node-version-file: '.nvmrc' cache: 'npm' cache-dependency-path: package-lock.json - name: Install dependencies run: npm ci + - name: List directories in the repository root + run: | + echo "Listing directories in the root:" + ls -l | grep '^d' - name: Run audit run: npm audit - name: Run lint @@ -22,4 +28,4 @@ jobs: - name: Build run: npm run build --workspaces env: - LANGTRACE_API_URL: "http://localhost:1994" + LANGTRACE_API_URL: "http://localhost:1994" \ No newline at end of file