Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Snapshot

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: {}

jobs:
snapshot:
name: Snapshot
if: github.repository_owner == 'edgeandnode'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/setup
with:
node-version: 24.10.0
- name: Set strip internals config
run: |
sed -i 's/"stripInternal": false/"stripInternal": true/' tsconfig.base.json
- name: Build package
run: pnpm build:tsgo
- name: Create snapshot
id: snapshot
run: pnpx pkg-pr-new@0.0.62 publish --pnpm --comment=off ./packages/*
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@
"lint:fix": "oxlint --fix && dprint fmt",
"test": "vitest"
},
"pnpm": {
"overrides": {
"typescript": "^5.9.3"
}
},
"devDependencies": {
"@amp/oxc": "workspace:^",
"@babel/cli": "^7.28.6",
"@babel/core": "^7.28.6",
"@babel/plugin-transform-export-namespace-from": "^7.27.1",
"@babel/plugin-transform-modules-commonjs": "^7.28.6",
"@effect/language-service": "^0.72.0",
"@effect/platform": "^0.94.2",
"@effect/platform-node": "^0.104.1",
Expand All @@ -24,6 +33,7 @@
"@typescript/native-preview": "7.0.0-dev.20260122.4",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/ui": "^4.0.18",
"babel-plugin-annotate-pure-calls": "^0.5.0",
"dprint": "^0.51.1",
"effect": "^3.19.15",
"glob": "^13.0.0",
Expand All @@ -32,7 +42,6 @@
"oxlint": "^1.41.0",
"ts-patch": "^3.3.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.53.1",
"vite-tsconfig-paths": "^6.0.4",
"vitest": "^4.0.18",
"vitest-mock-express": "^2.2.0"
Expand Down
1 change: 1 addition & 0 deletions packages/amp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"include": ["src"],
"references": [],
"compilerOptions": {
"erasableSyntaxOnly": false,
"types": ["node"]
}
}
Loading
Loading