working push to grafana cloud #17
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 | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@1.75 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install Cloudflare Worker build tools | |
run: cargo install -q worker-build | |
- name: Build Worker | |
run: | | |
worker-build --release | |
- name: Run (Rust) unit tests | |
run: cargo test | |
- name: Install Node dependencies | |
run: npm install | |
- name: Run (Node) integration tests | |
run: npm run cucumber |