File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 7373 - name : Install templates
7474 run : spin templates install --dir .
7575
76+ - name : Install Rust toolchain
77+ shell : bash
78+ run : |
79+ rustup toolchain install ${{ env.RUST_VERSION }} --no-self-update
80+ rustup default ${{ env.RUST_VERSION }}
81+
82+ - name : ' Install Wasm Rust target'
83+ run : rustup target add wasm32-wasip1 wasm32-unknown-unknown --toolchain ${{ env.RUST_VERSION }}
84+
85+ - name : Build the `build-tools` package
86+ run : |
87+ cd packages/build-tools
88+ npm install
89+ npm run build
90+
7691 - name : Create new project
7792 run : spin new -t http-ts --value http-router=${{ matrix.router }} -a test-project
7893
8398 cd new-component
8499 npm install
85100
101+ - name : Force npm to use local build-tools
102+ run : |
103+ echo "@spinframework/build-tools: file:$(pwd)/packages/build-tools" >> ~/.npmrc
104+
86105 - name : Build the application
87106 run : |
88107 cd test-project
You can’t perform that action at this time.
0 commit comments