fix(ci): set cargo and npm (#51)

This commit is contained in:
Anatolios Laskaris 2023-01-30 12:08:19 +02:00 committed by GitHub
parent dbfc07b01a
commit aa934f2973
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,10 +55,26 @@ jobs:
version="$(jq -r '.[]' .github/release-please/manifest.json)"
echo "version=${version}" >> $GITHUB_OUTPUT
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install cargo-edit
uses: baptiste0928/cargo-install@v1.3.0
with:
crate: cargo-edit
- name: Set version in service
working-directory: service
run: cargo set-version ${{ steps.version.outputs.version }}
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "16"
registry-url: "https://registry.npmjs.org"
cache-dependency-path: "aqua/package-lock.json"
cache: "npm"
- name: Set version in aqua
working-directory: aqua
run: npm version ${{ steps.version.outputs.version }}