Skip to content

v0.3.0: Switch to WASM, rewrite build pipeline #3

v0.3.0: Switch to WASM, rewrite build pipeline

v0.3.0: Switch to WASM, rewrite build pipeline #3

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm test
- run: npm run build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: mapbox-gl-rtl-text
path: dist
retention-days: 7