Skip to content

Commit

Permalink
🏃
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Jul 4, 2023
1 parent bdbdae0 commit 815fb81
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 32 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ jobs:
- name: Build Azure
run: npm run build.azure

- name: Deploy to Azure SWA
run: npm run deploy.azure
env:
SWA_CLI_DEPLOYMENT_TOKEN: ${{ secrets.AZURE_DEPLOYMENT_TOKEN }}

- name: Install Playwright
run: npx playwright install chromium --with-deps

Expand Down
1 change: 0 additions & 1 deletion custom-src/entry_aws-lambda.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export const qwikApp = serverless(
);

function fixPath(path: string) {
console.log(path);
if (qwikCityPlan.trailingSlash) {
const url = new URL(path, "http://aws-qwik.local");
if (url.pathname.includes(".", url.pathname.lastIndexOf("/"))) {
Expand Down
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dev.netlify": "netlify dev",
"lint": "eslint \"custom-src/**/*.ts*\"",
"lint.fix": "eslint \"custom-src/**/*.ts*\" --fix",
"serve.azure": "swa start",
"serve.azure": "cross-env PLATFORM_NAME=azure swa start",
"serve.cloudflare": "wrangler pages dev ./dist",
"serve.cloudflare.debug": "node --inspect-brk ./node_modules/.bin/wrangler pages dev ./dist",
"serve.deno": "cross-env PLATFORM_NAME=deno deno run --allow-net --allow-read --allow-env .deno/entry.deno.js --port 3009",
Expand Down Expand Up @@ -74,48 +74,48 @@
"qwik": "qwik"
},
"devDependencies": {
"@azure/static-web-apps-cli": "^1.1.2",
"@azure/static-web-apps-cli": "^1.1.3",
"@builder.io/qwik": "BuilderIo/qwik-build#main",
"@builder.io/qwik-city": "BuilderIo/qwik-city-build#main",
"@builder.io/qwik-react": "0.5.0",
"@emotion/react": "11.11.0",
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@fastify/static": "^6.10.1",
"@mui/material": "5.13.1",
"@fastify/static": "^6.10.2",
"@mui/material": "5.13.7",
"@mui/x-data-grid": "6.5.0",
"@playwright/test": "^1.34.0",
"@playwright/test": "^1.35.1",
"@types/compression": "^1.7.2",
"@types/eslint": "latest",
"@types/express": "4.17.17",
"@types/node": "^20.2.3",
"@types/react": "18.2.6",
"@types/react-dom": "18.2.4",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"@types/node": "^20.3.3",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.6",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@vendia/serverless-express": "^4.10.4",
"@vitest/ui": "^0.31.1",
"@vitest/ui": "^0.32.4",
"compression": "^1.7.4",
"create-qwik": "BuilderIO/qwik-create-cli-build#main",
"cross-env": "^7.0.3",
"eslint": "^8.41.0",
"eslint-plugin-qwik": "^1.1.4",
"eslint": "^8.44.0",
"eslint-plugin-qwik": "^1.2.4",
"express": "^4.18.2",
"fastify": "^4.17.0",
"fastify": "^4.19.2",
"fastify-plugin": "^4.5.0",
"netlify-cli": "^15.8.0",
"prettier": "^2.8.8",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "^5.0.1",
"serverless": "^3.32.2",
"serverless": "^3.33.0",
"serverless-http": "^3.2.0",
"serverless-offline": "^12.0.4",
"source-map-support": "^0.5.21",
"typescript": "5.0.4",
"typescript": "5.1.6",
"undici": "^5.22.1",
"vercel": "^29.3.6",
"vite": "4.3.8",
"vitest": "^0.31.1",
"wrangler": "^3.0.0"
"vercel": "^31.0.1",
"vite": "4.3.9",
"vitest": "^0.32.4",
"wrangler": "^3.1.1"
}
}
11 changes: 6 additions & 5 deletions playwright.azure.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ const config: PlaywrightTestConfig = {
metadata: {
server: "azure",
},

use: {
baseURL: "https://blue-smoke-0a7cdfe10.2.azurestaticapps.net/",
grepInvert: [
/@streaming/,
],
webServer: {
command: "npm run serve.azure",
port: 4280,
},
retries: 2,
webServer: undefined,
};

export default config;

0 comments on commit 815fb81

Please sign in to comment.