diff --git a/.github/workflows/dev-demo.yml b/.github/workflows/dev-demo.yml index 472af67..b5217e6 100644 --- a/.github/workflows/dev-demo.yml +++ b/.github/workflows/dev-demo.yml @@ -4,8 +4,10 @@ on: push: branches: - dev - pull_request: jobs: action: - uses: AlaskaAirlines/auro-actions/.github/workflows/dev-demo.yml@dev \ No newline at end of file + uses: AlaskaAirlines/auro-actions/.github/workflows/dev-demo.yml@dev + with: + publish-dir: "./auro-formkit-demo" + build-command: "npm run local-demo:build" \ No newline at end of file diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2c20da0..ca76333 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -11,8 +11,8 @@ jobs: action: uses: AlaskaAirlines/auro-actions/.github/workflows/pull-request.yml@dev with: - component: '["checkbox", "combobox", "counter", "datepicker", "dropdown", "form", "input", "menu", "radio", "select"]' - is-monorepo: true + demo-dir: './auro-formkit-demo' + demo-build-command: 'npm run local-demo' cache-dirs: | ./components/**/dist ./components/**/demo @@ -20,5 +20,4 @@ jobs: ./node_modules ./custom-elements.json secrets: - AURO_SURGE_TOKEN: $\{{ secrets.AURO_SURGE_TOKEN }} NPM_TOKEN: $\{{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index af31cc6..9cdb19b 100644 --- a/.gitignore +++ b/.gitignore @@ -28,5 +28,5 @@ coverage/ .turbo ## ignore all files/folders in generated auro-formkit-demo -auro-formkit-demo/**/*.** +auro-formkit-demo/ auro-formkit-demo.zip \ No newline at end of file diff --git a/components/input/demo/index.html b/components/input/demo/index.html index 42d822f..e76c317 100644 --- a/components/input/demo/index.html +++ b/components/input/demo/index.html @@ -3,7 +3,7 @@ - Auro Web Component Demo | auro-input + Auro Web Component Demo | auro-input test diff --git a/package.json b/package.json index 9a175a2..e332e5c 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,9 @@ "preCommit": "node ./node_modules/@aurodesignsystem/auro-library/scripts/build/pre-commit.mjs", "prepare": "husky", "deploy-demo": "npm run build && sh ./deploy-components.sh", - "local-demo": "npm run build && sh ./local-demo.sh --zip" + "local-demo": "sh ./local-demo.sh", + "local-demo:build": "npm run build && npm run local-demo", + "local-demo:zip": "npm run local-demo:build -- --zip" }, "dependencies": { "@lit/context": "^1.1.6",