Skip to content

[UPD] 替换datagridxl2为Handsontable #37

[UPD] 替换datagridxl2为Handsontable

[UPD] 替换datagridxl2为Handsontable #37

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [21.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run build --if-present
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: registry.cn-beijing.aliyuncs.com
username: ${{ secrets.AILI_USER }}
password: ${{ secrets.AILI_PASSWORD }}
- name: GetTime
id: get_time
run: DATE=$(date +'%Y-%m-%d-%H%M%S')&&echo ::set-output name=date::${DATE}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: registry.cn-beijing.aliyuncs.com/lconv/lconv:${{ steps.get_time.outputs.date }}-${{ github.ref_name }}