Skip to content

feat(glowsquid): 🚧 add auth state #318

feat(glowsquid): 🚧 add auth state

feat(glowsquid): 🚧 add auth state #318

Workflow file for this run

name: CI
on:
push:
branches: ['main', 'dev']
pull_request:
types: [opened, synchronize]
env:
MOONBASE_SECRET_KEY: ${{ secrets.MOONBASE_SECRET_KEY }}
DO_NOT_TRACK: 1
jobs:
build:
name: Build and Lint
runs-on: ubuntu-latest
strategy:
matrix:
index: [0, 1, 2]
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Cache Rust
uses: Swatinem/rust-cache@v2
- name: Install binstall
uses: cargo-bins/cargo-binstall@main
- uses: 'moonrepo/setup-toolchain@v0'
with:
auto-install: true
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Cache Pnpm
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: install tauri dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Lint and Build
run: 'pnpm moon ci --job ${{ matrix.index }} --jobTotal 3 :lint :build'
- name: report to moon app
uses: 'moonrepo/run-report-action@v1'
if: success() || failure()
with:
access-token: ${{ secrets.GITHUB_TOKEN }}