fix: awaitServeCommand #358
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'CI' | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: npm | |
- name: install | |
run: npm i | |
- name: build:action | |
run: npm run nx build action && npm run postBuildAction -- action | |
- name: commit:build:action (GitHub's registry is GitHub so we need it compiled) | |
uses: EndBug/add-and-commit@v7 | |
with: | |
author_name: push-based.io | |
author_email: [email protected] | |
message: 'Persist action build' | |
add: '*' | |
- name: test-unit:action | |
run: npm run nx test action | |
- name: run:action | |
id: localRun | |
uses: ./ | |
with: | |
dryRun: off | |
verbose: on | |
url: https://google.com | |
ufPath: ./user-flows | |
outPath: ./packages/user-flow-gh-action-e2e/measures | |
format: html,json | |
rcPath: ./.user-flowrc.json |