Skip to content

Replace quotes by tags #43

Replace quotes by tags

Replace quotes by tags #43

Workflow file for this run

on: push
name: Build and test
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Clippy
run: cargo clippy --all-features -- -D warnings
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Format
run: cargo fmt --all -- --check
tailwind-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '14'
- name: Install Tailwind
run: npm install -D tailwindcss
- name: Install Dependencies
run: npm install @tailwindcss/typography @tailwindcss/forms @tailwindcss/aspect-ratio
- name: Build
run: npx tailwind -o styles/main.css
- name: Upload Style Artifact
uses: actions/upload-artifact@v2
with:
name: tailwind-style
path: styles/main.css
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Add wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Install Trunk
run: cargo install --locked trunk
- name: Clean
run: cargo clean
- name: Download Style Artifact
uses: actions/download-artifact@v2
with:
name: tailwind-style
path: styles
- name: Build
run: trunk build --release --verbose