forked from probablykasper/time-machine-inspector
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (31 loc) · 732 Bytes
/
test.yml
File metadata and controls
40 lines (31 loc) · 732 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
name: Test
on:
push:
branches:
- '*'
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Node.js setup
uses: actions/setup-node@v3
with:
node-version: 18
- name: Rust setup
uses: dtolnay/rust-toolchain@stable
- name: Rust Cache
uses: Swatinem/rust-cache@v2
with:
workspaces: ./src-tauri
- run: npm install
- run: npm run build:web
- run: npm run test
- run: npm run lint
- name: Build
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}