Files
pezkuwi-wasm/.github/workflows/ci.yml
T
Kurdistan Tech Ministry 712c72f3bc ci: use dtolnay/rust-toolchain, the action that exists
dtolnay/rust-action does not exist, so the test job failed at setup
("Unable to resolve action dtolnay/rust-action, repository not found")
before running a single Rust test.
2026-10-07 08:23:53 +04:00

49 lines
912 B
YAML

name: CI
on:
push:
branches: [master, dev]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Build JavaScript
run: yarn build:js
- name: Lint
run: yarn lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Install dependencies
run: yarn install --immutable
- name: Run Rust tests
run: yarn test:wasm-crypto:rust