Skip to content

chore(deps): update dependency mocha to v10.8.2 #1556

chore(deps): update dependency mocha to v10.8.2

chore(deps): update dependency mocha to v10.8.2 #1556

name: 'CICD pipeline'
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bulid from src
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: yarn install --frozen-lockfile
- run: yarn build-only
- uses: actions/upload-artifact@master
with:
name: dist
path: dist/
- run: tar -cvf node_modules.tar node_modules
- uses: actions/upload-artifact@master
with:
name: node_modules
path: node_modules.tar
test_node:
needs: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [15.x, 16.x, 17.x, 18.x, 19.x, latest]
steps:
- uses: actions/checkout@v4
- name: Run prod version with Node v${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/download-artifact@master
with:
name: dist
path: dist/
- uses: actions/download-artifact@master
with:
name: node_modules
path: ./
- run: tar -xvf node_modules.tar
- run: yarn test-only
test_browser:
needs: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@master
with:
name: dist
path: dist/
- run: echo '::warning ::Not able to automate browser tests yet'
- run: '# yarn test-browser-ci'