Skip to content
Merged
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
44 changes: 44 additions & 0 deletions .github/workflows/zed-latest-deps-consumer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Zed latest deps Node consumer proof
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
verify-node-consumer:
runs-on: ubuntu-latest
timeout-minutes: 45
env:
ZED_PKG_INTERACTIVE: "false"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with: {path: source, fetch-depth: 0, persist-credentials: false}
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
repository: zed-pkg/zed-cli
ref: 611da9528940267235ed28391c3b05443380902d
path: zed-cli
persist-credentials: false
- name: Build exact Zed CLI
working-directory: zed-cli
run: |
cargo build --locked --bin zed
mkdir -p "$HOME/.local/bin"
install -m 0755 target/debug/zed "$HOME/.local/bin/zed"
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Resolve and frozen-replay latest allowed Zed graph
working-directory: source
run: |
test ! -e .zpkg.lock
zed validate
zed install
zed validate --require-lock
zed install --frozen
test -e zed_modules/zed-pkg-test/node-lib
test -e node_modules/@zed-pkg-test/node-lib
- name: Compile/check Node consumer through Zed adapter
working-directory: source
run: zed develop --no-install -c 'npm run check && node src/main.js'
- name: Pack consumer
working-directory: source
run: zed pack --out "$RUNNER_TEMP/zed-node-consumer-proof"
Loading