feat: mock sample of metrics #26
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: Build and Test Rust | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: | | |
npm install | |
- name: Download Tailwind CSS CLI | |
run: | | |
curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64 | |
chmod +x tailwindcss-linux-x64 | |
sudo mv tailwindcss-linux-x64 /usr/local/bin/tailwindcss | |
- name: Build the project | |
run: cargo build | |
env: | |
RUST_BACKTRACE: 1 |