Bump serde_json from 1.0.111 to 1.0.116 #440
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
backend_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/[email protected] | |
with: | |
path: target | |
key: backend-${{ runner.os }}-${{ hashFiles('Cargo.lock') }} | |
- name: Run tests | |
run: cargo test | |
frontend_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/[email protected] | |
with: | |
path: app/node_modules | |
key: frontend-${{ runner.os }}-${{ hashFiles('app/yarn.lock') }} | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: 18.x | |
- name: Build | |
run: cd app && yarn install && yarn build | |
- name: Run tests | |
run: cd app && yarn run test | |
# build_docker: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Build | |
# run: docker build -t server . |