diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index feb42df..296f9cd 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -14,7 +14,7 @@ jobs: with: node-version: 'lts/jod' - name: Install dependencies - run: yarn install + run: yarn install --frozen-lockfile - name: Run checks run: yarn lint @@ -28,7 +28,7 @@ jobs: with: node-version: 'lts/jod' - name: Install dependencies - run: yarn install + run: yarn install --frozen-lockfile - name: Run tests with coverage run: yarn test --silent --coverage - name: Archive code coverage results @@ -39,6 +39,20 @@ jobs: retention-days: 7 overwrite: true + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Setup environment + uses: actions/setup-node@v4 + with: + node-version: 'lts/jod' + - name: Install dependencies + run: yarn install --frozen-lockfile + - name: Run build + run: yarn build + security: runs-on: ubuntu-latest steps: