Skip to content

Commit

Permalink
Run precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Dec 6, 2023
1 parent 119b171 commit 4ae5626
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .github/workflows/pull-request-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
path: docker.zip
retention-days: 1

unit-test:
name: Unit test
lint:
name: Lint
runs-on: ubuntu-latest

steps:
Expand All @@ -95,8 +95,28 @@ jobs:

- run: npm clean-install

- run: npm run bootstrap

- run: npm run precommit --if-present

unit-test:
name: Unit test
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}
cache: npm

- if: "env.skip-secure-feed != 'true'"
name: Enable secure feed
run: npx https://aka.ms/EnableSecureFeed

- run: npm clean-install
working-directory: ./packages/test/harness/

- run: npm run bootstrap

Expand Down

0 comments on commit 4ae5626

Please sign in to comment.