Skip to content

Commit

Permalink
Fix badge for early access apps
Browse files Browse the repository at this point in the history
  • Loading branch information
pavi2410 committed Aug 18, 2024
1 parent c1b2480 commit 0263d58
Show file tree
Hide file tree
Showing 10 changed files with 134 additions and 1,734 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/node.js.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI
name: Test

on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
Expand All @@ -15,20 +16,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v2
with:
version: 8

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Setup Bun
uses: oven-sh/setup-bun@v2.0.1

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: bun install --frozen-lockfile

- name: Run tests
run: pnpm test
run: bun run test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,4 @@ dist
.tern-port

bundle.js
.DS_Store
Binary file added bun.lockb
Binary file not shown.
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "1.0.0",
"description": "",
"type": "module",
"main": "index.js",
"scripts": {
"w:deploy": "wrangler deploy --minify",
Expand All @@ -13,18 +14,18 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@cloudflare/workers-types": "^4.20231025.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"vitest": "^0.34.6",
"wrangler": "^3.16.0"
"@cloudflare/workers-types": "^4.20240815.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"vitest": "^2.0.5",
"wrangler": "^3.72.0"
},
"dependencies": {
"badgen": "^3.2.3",
"hono": "^3.10.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"satori": "^0.10.9",
"hono": "^4.5.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"satori": "^0.10.14",
"yoga-wasm-web": "^0.3.3"
}
}
Loading

0 comments on commit 0263d58

Please sign in to comment.