Skip to content

chore(release): 3.131.2 #2301

chore(release): 3.131.2

chore(release): 3.131.2 #2301

Workflow file for this run

name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches:
- main
- maintenance/**
pull_request:
branches:
- main
- maintenance/**
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '16'
# Can't use npm ci, because it fails on missing optional dependencies
# Using --legacy-peer-deps because @stencil/less is unsupported and has an out of date peer dependency on @stencil/core@1
- run: npm install --legacy-peer-deps
# This creates the design token exports that are needed for the components
- name: Tokens
run: npm run build --workspace=packages/genesys-spark-tokens
# This creates the component specific types that are needed for eslint
- name: Stencil
run: npm run stencil --workspace=packages/genesys-spark-components
# Run linting
- name: Lint
run: npm run lint
# Runs tests
- name: Test
run: npm run test.ci
# Build
- name: Build
run: npm run build
prComment:
if: startsWith(github.head_ref, 'feature/')
runs-on: ubuntu-latest
steps:
- uses: mshick/add-pr-comment@v1
with:
message: 'Demo will be published at https://apps.inindca.com/common-ui-docs/genesys-webcomponents/${{ github.head_ref}}'
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: 'github-actions[bot]'