Skip to content

Merge pull request #461 from 1CRM/fix-totals-row #396

Merge pull request #461 from 1CRM/fix-totals-row

Merge pull request #461 from 1CRM/fix-totals-row #396

Workflow file for this run

name: Publish dev release
on:
push:
branches:
- main
workflow_dispatch:
env:
RELEASE_TAG: dev
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "18.x"
registry-url: "https://npm.pkg.github.com"
- name: Install dependencies
run: yarn install
- name: Run ESLint
run: yarn run lint
- name: Create packages
env:
OF_DEMO_ROOT_PATH: "/oceanfront/"
run: yarn run package
- name: Run unit tests
run: yarn run test
- name: Upload oceanfront package
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "./packages/oceanfront/oceanfront-v0.1.0.tgz"
asset_name: oceanfront.tgz
tag: ${{ env.RELEASE_TAG }}
overwrite: true
- name: Upload of-colorscheme-editor package
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "./packages/of-colorscheme-editor/of-colorscheme-editor-v0.1.0.tgz"
asset_name: of-colorscheme-editor.tgz
tag: ${{ env.RELEASE_TAG }}
overwrite: true
- name: Upload oceanfront-html-editor package
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "./packages/oceanfront-html-editor/oceanfront-html-editor-v0.1.0.tgz"
asset_name: oceanfront-html-editor.tgz
tag: ${{ env.RELEASE_TAG }}
overwrite: true
- name: Ping app-js
run: |
curl -X POST https://api.github.com/repos/1CRM/app-js/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-u ${{ secrets.APPJS_PING_TOKEN }} \
--data '{"event_type": "update_oceanfront"}'