Skip to content

Commit 3602989

Browse files
committed
chore: check tests in pipeline (PROVCON-4790)
1 parent cdac0eb commit 3602989

1 file changed

Lines changed: 25 additions & 22 deletions

File tree

.github/workflows/test-and-release.yml

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
push:
44
branches:
55
- main
6+
pull_request:
7+
branches:
8+
- main
69
jobs:
710
lint-and-check:
811
runs-on: ubuntu-latest
@@ -152,25 +155,25 @@ jobs:
152155
with:
153156
name: e2e-static-html-results
154157
path: cypress/results
155-
release:
156-
if: github.ref == 'refs/heads/main'
157-
runs-on: ubuntu-latest
158-
container:
159-
image: node:18.20
160-
needs:
161-
- lint-and-check
162-
- build
163-
- build-docs
164-
- e2e-react-cra
165-
- e2e-static-html
166-
- e2e-angular
167-
steps:
168-
- uses: actions/checkout@v4.1.0
169-
- name: Configure Git safe directory
170-
run: git config --global --add safe.directory /__w/elements/elements
171-
- name: Install Dependencies
172-
run: yarn --frozen-lockfile
173-
- name: Set NPM Token
174-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
175-
- name: Run Release Script
176-
run: yarn release
158+
# release:
159+
# if: github.ref == 'refs/heads/main'
160+
# runs-on: ubuntu-latest
161+
# container:
162+
# image: node:18.20
163+
# needs:
164+
# - lint-and-check
165+
# - build
166+
# - build-docs
167+
# - e2e-react-cra
168+
# - e2e-static-html
169+
# - e2e-angular
170+
# steps:
171+
# - uses: actions/checkout@v4.1.0
172+
# - name: Configure Git safe directory
173+
# run: git config --global --add safe.directory /__w/elements/elements
174+
# - name: Install Dependencies
175+
# run: yarn --frozen-lockfile
176+
# - name: Set NPM Token
177+
# run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
178+
# - name: Run Release Script
179+
# run: yarn release

0 commit comments

Comments
 (0)