Skip to content

fix(eclwatch): add a multi-scale 24-hour tick formatter #814

fix(eclwatch): add a multi-scale 24-hour tick formatter

fix(eclwatch): add a multi-scale 24-hour tick formatter #814

Workflow file for this run

name: PR Test and Release
on:
push:
branches:
- main
- candidate-*
pull_request:
branches:
- main
- candidate-*
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Checkout Sources
uses: actions/checkout@v4
- name: Initialize Release Please
id: release
uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
target-branch: ${{ github.ref_name }}
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
- name: Install NodeJS
uses: actions/setup-node@v6
with:
node-version: 22
registry-url: "https://registry.npmjs.org"
scope: "@hpcc-js"
- name: Install Dependencies
run: |
npm ci
- name: Lint
run: |
npm run lint
- name: Build
run: |
npm run build
- name: Install Test Dependencies
if: ${{ github.event_name == 'pull_request' }}
run: |
sudo apt-get update
sudo npx -y playwright install chromium --with-deps
npx -y playwright install chromium
wget https://github.com/hpcc-systems/HPCC-Platform/releases/download/community_9.6.50-1/hpccsystems-platform-community_9.6.50-1jammy_amd64_withsymbols.deb
- name: Install HPCC Platform
if: ${{ github.event_name == 'pull_request' }}
continue-on-error: true
run: |
sudo apt install -f ./hpccsystems-platform-community_9.6.50-1jammy_amd64_withsymbols.deb
sudo /etc/init.d/hpcc-init start
- name: Test
if: ${{ github.event_name == 'pull_request' }}
env:
CI: true
run: |
npm run test
npm run test-browser-esm
npm run test-browser-umd
npm run test-node-esm
npm run test-node-cjs
- name: Publish
if: ${{ steps.release.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: |
npm run publish
- name: Upload error logs
if: ${{ failure() || cancelled() }}
uses: actions/upload-artifact@v4
with:
name: all-logs
path: ./**/*.log