Skip to content

Commit 6ca450b

Browse files
authored
test: ...
1 parent 0a52259 commit 6ca450b

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/puppeteer-container.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -83,23 +83,23 @@ jobs:
8383
podman tag $IMAGE_NAME $IMAGE
8484
podman push $IMAGE
8585
86-
# test:
87-
# runs-on: ubuntu-latest
88-
# needs: [ prepare ]
89-
90-
# container:
91-
# image: ${{ needs.prepare.outputs.name }}:${{ needs.prepare.outputs.version }}
92-
# options: --user node2 -e CHROME_DISABLE_SANDBOX=1 -e DEBUG=true
93-
94-
# steps:
95-
# - name: Checkout
96-
# run: git clone ${{ github.SERVER_URL }}/${{ github.REPOSITORY }}
97-
98-
# - run: env
99-
100-
# - name: Install and Run
101-
# run: |
102-
# cd $(basename ${{ github.REPOSITORY }})
103-
# git switch "${{ github.REF_NAME }}"
104-
# npm install && npm run puppeteer
105-
# xvfb-run npm test
86+
test:
87+
runs-on: ubuntu-latest
88+
needs: [ prepare, build ]
89+
90+
container:
91+
image: ${{ needs.prepare.outputs.name }}:${{ needs.prepare.outputs.version }}
92+
options: --user node2 -e CHROME_DISABLE_SANDBOX=1 -e DEBUG=true
93+
94+
steps:
95+
- name: Checkout
96+
run: git clone ${{ github.SERVER_URL }}/${{ github.REPOSITORY }}
97+
98+
- run: env
99+
100+
- name: Install and Run
101+
run: |
102+
cd $(basename ${{ github.REPOSITORY }})
103+
git switch "${{ github.REF_NAME }}"
104+
npm install && npm run puppeteer
105+
xvfb-run npm test

0 commit comments

Comments
 (0)