Skip to content

chore: 🆙 4.0.0-alpha.34 #1665

chore: 🆙 4.0.0-alpha.34

chore: 🆙 4.0.0-alpha.34 #1665

Workflow file for this run

name: build
on:
push:
branches: [master, v4]
pull_request:
branches: [master, v4]
jobs:
linters:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build tsconfig
run: yarn build:tsconfig
- name: Run tests
run: yarn test:linters
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build the project
run: yarn build
- name: Run tests
run: yarn test:ci:jest
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
es5-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build the project
run: yarn build --es ES5
- name: Run tests
run: yarn test:ci:jest
build-standalone:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Build the project
run: yarn build:standalone
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: lib
path: lib