Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

feat(rome_css_parser): CSS lexer number and ident #4682 #4031

feat(rome_css_parser): CSS lexer number and ident #4682

feat(rome_css_parser): CSS lexer number and ident #4682 #4031

Workflow file for this run

# We have code that relies on Rust code AND JS code, we want to run this job when the relevant code changes
name: Checks for our runtimes
on:
push:
branches:
- main
paths:
- 'npm/**'
- 'crates/**'
pull_request:
branches:
- main
paths:
- 'npm/**'
- 'crates/**'
env:
RUST_LOG: info
RUST_BACKTRACE: 1
jobs:
apis-check:
name: Checks on APIs project
runs-on: ubuntu-latest
steps:
- name: Checkout PR Branch
uses: actions/checkout@v3
with:
submodules: false
- name: Install wasm-pack
uses: jetli/[email protected]
with:
version: 'latest'
- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: 7
- name: Install toolchain
uses: moonrepo/setup-rust@v0
- name: Install libraries
working-directory: npm/js-api
run: pnpm i
- name: Compile backends
run: |
pnpm --prefix npm/js-api build:wasm-bundler
pnpm --prefix npm/js-api build:wasm-node
pnpm --prefix npm/js-api build:wasm-web
pnpm --prefix npm/backend-jsonrpc i
pnpm --prefix npm/backend-jsonrpc run build
- name: CI checks
working-directory: npm/js-api
run: pnpm ci