Skip to content

Commit 03df75e

Browse files
authored
adiciona etapa de build na pipeline do pull request (#403)
1 parent 01bd477 commit 03df75e

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
node-version: 'lts/jod'
1616
- name: Install dependencies
17-
run: yarn install
17+
run: yarn install --frozen-lockfile
1818
- name: Run checks
1919
run: yarn lint
2020

@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
node-version: 'lts/jod'
3030
- name: Install dependencies
31-
run: yarn install
31+
run: yarn install --frozen-lockfile
3232
- name: Run tests with coverage
3333
run: yarn test --silent --coverage
3434
- name: Archive code coverage results
@@ -39,6 +39,20 @@ jobs:
3939
retention-days: 7
4040
overwrite: true
4141

42+
build:
43+
runs-on: ubuntu-latest
44+
steps:
45+
- name: Checkout code
46+
uses: actions/checkout@v4
47+
- name: Setup environment
48+
uses: actions/setup-node@v4
49+
with:
50+
node-version: 'lts/jod'
51+
- name: Install dependencies
52+
run: yarn install --frozen-lockfile
53+
- name: Run build
54+
run: yarn build
55+
4256
security:
4357
runs-on: ubuntu-latest
4458
steps:

0 commit comments

Comments
 (0)