Skip to content

🐛 Fix IndexMap's toInnerRange and toOuterRange returning extended ranges #68

🐛 Fix IndexMap's toInnerRange and toOuterRange returning extended ranges

🐛 Fix IndexMap's toInnerRange and toOuterRange returning extended ranges #68

Workflow file for this run

name: Commit
on:
push:
branches:
- main
paths-ignore:
- "docs/**"
pull_request:
branches:
- main
paths-ignore:
- "docs/**"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: "npm"
- run: npm ci
- run: npm run lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: "npm"
- run: npm ci
- run: npm run fmt:check
- run: npm run build
- run: npm test
- run: tar -cvf build-artifact.tar packages/*/lib/ packages/*/out/ packages/*/dist/
- uses: actions/upload-artifact@v3
with:
name: build-artifact
path: build-artifact.tar
deploy:
name: Deploy
runs-on: ubuntu-latest
needs:
- lint
- test
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# - run: git pull origin gh-pages:gh-pages --ff-only
- uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: "npm"
- run: npm ci
- uses: actions/download-artifact@v3
with:
name: build-artifact
- run: |
tar -xvf build-artifact.tar
rm build-artifact.tar
- run: npm run release:dry
- name: Deploy playground
if: ${{ github.event_name == 'push' }}
working-directory: packages/playground
run: npm run deploy