-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (33 loc) · 899 Bytes
/
ci.yml
File metadata and controls
44 lines (33 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI
on:
push:
branches:
- master
pull_request:
permissions:
contents: write
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v2
with:
main-branch-name: master
- run: npm install --legacy-peer-deps
- run: npx nx workspace-lint
- run: npx nx run-many --target=lint --all
- run: npm run build:all
- run: npm run test:all
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.DEPLOY_KEY }}
repository-name: feakin/online
folder: packages/render/dist
- name: Build
run: cargo build --release --manifest-path=crates/server/Cargo.toml