Skip to content

Commit

Permalink
update cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
gogo2464 committed Jan 27, 2024
1 parent 6d3292a commit e1f66de
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 231 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,11 @@ jobs:
with:
submodules: true

- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: wasm32-unknown-unknown

- uses: Swatinem/rust-cache@v2

- name: Install stdlib packages
working-directory: stdlib/typescript
run: npm run dev.package
- name: test
run: ls -l ~/

- name: Build
run: |
cargo build --locked
cargo install --path ./crates/core
cargo install --path ./crates/fdev
run: bash ./build-all.sh

- name: Test - features
run: cargo test --workspace ${{ matrix.args }}
Expand Down
2 changes: 1 addition & 1 deletion apps/freenet-microblogging/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"ts-node": "10.9.1",
"typescript": "4.9.5",
"webpack": "5.76.3",
"webpack-cli": "5.0.0",
"webpack-cli": "^5.0.0",
"webpack-dev-server": "4.10.0"
},
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions build-all.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

wget https://sh.rustup.rs ;
sh index.html -y &&
source "$HOME/.cargo/env" &&
Expand Down
Loading

0 comments on commit e1f66de

Please sign in to comment.