Skip to content

En/117 Upgrade proxy to aws 7.0 api #189

En/117 Upgrade proxy to aws 7.0 api

En/117 Upgrade proxy to aws 7.0 api #189

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
proxy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache cargo registry
uses: actions/cache@v1
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v1
with:
path: ./target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: build
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache dependencies
uses: actions/cache@v3
env:
cache-name: cache-dependencies
with:
path: |
./lib/npm/node_modules
key: ${{ runner.os }}-npm-cache-${{ hashFiles('lib/npm/package-lock.json') }}
- uses: actions/setup-node@v2
with:
node-version: "16"
- run: npm ci
working-directory: ./lib/npm
- run: npm run build
working-directory: ./lib/npm