fix: check first and last point for xyGrowingX (#264) #272
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy HEAD build on lactame.com | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
env: | |
NODE_VERSION: 20.x | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get package name | |
run: echo "PACKAGE_NAME=$(jq .name package.json | tr -d '"')" >> $GITHUB_ENV | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install dependencies | |
run: npm install | |
- name: Build project | |
run: npm run build | |
- name: Deploy to lactame.com | |
uses: zakodium/lactame-action@v1 | |
with: | |
token: ${{ secrets.LACTAME_TOKEN }} | |
name: ${{ env.PACKAGE_NAME }} | |
version: HEAD | |
folder: dist |