-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
on: | ||
schedule: | ||
- cron: '0 */4 * * *' | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- .github/workflows/e2e-preact-cli-workflow.yml | ||
- scripts/e2e-setup-ci.sh | ||
|
||
name: 'E2E Preact CLI' | ||
jobs: | ||
chore: | ||
name: 'Validating Preact CLI' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
|
||
- name: 'Install Node' | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 14.x | ||
|
||
- name: 'Build the standard bundle' | ||
run: | | ||
node ./scripts/run-yarn.js build:cli | ||
- name: 'Running the integration test' | ||
run: | | ||
source scripts/e2e-setup-ci.sh | ||
git clone https://github.com/preactjs-templates/default.git default | ||
cd default/template | ||
touch yarn.lock | ||
echo $(cat package.json | jq '.name = "pnp-test"') > package.json | ||
yarn build | ||
- name: 'Running the TypeScript integration test' | ||
run: | | ||
source scripts/e2e-setup-ci.sh | ||
git clone https://github.com/preactjs-templates/typescript.git default | ||
cd default/template | ||
touch yarn.lock | ||
echo $(cat package.json | jq '.name = "pnp-test"') > package.json | ||
yarn build |
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