Skip to content

Swipe mode fix ups round 2: secondary layer style sync and selection routing #782

Swipe mode fix ups round 2: secondary layer style sync and selection routing

Swipe mode fix ups round 2: secondary layer style sync and selection routing #782

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
tags:
- 'v*'
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Audit packages (production packages only)
run: yarn audit --groups "dependencies"
- name: Lint and run tests
run: yarn run ci:gha
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage-report/lcov.info
release:
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/')
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'yarn'
- name: Install dependencies and build
run: yarn install
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
name: ${{ github.ref_name }}
body: Release ${{ github.ref_name }} (run ${{ github.run_number }})
draft: true
prerelease: true
files: |
viewer.zip
storybook.zip
apidocs.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}