Skip to content

fix(ecom config): add field envoriment #5

fix(ecom config): add field envoriment

fix(ecom config): add field envoriment #5

Workflow file for this run

name: Publish
on:
push:
branches:
- master
paths:
- 'assets/application.json'
- 'ecomplus-market.json'
- 'hosting/description.md'
- 'hosting/icon.png'
- 'scripts/_constants.js'
- 'scripts/market-publication.js'
- '.github/workflows/publish.yml'
jobs:
pulish:
name: Publish app to E-Com Plus Market
runs-on: ubuntu-latest
if: github.repository != 'ecomplus/application-starter'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org/'
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install root dependencies
run: npm ci --only=production --ignore-scripts
- name: Run publish script
env:
FIREBASE_PROJECT_ID: ${{ secrets.FIREBASE_PROJECT_ID }}
MARKET_TOKEN: ${{ secrets.MARKET_TOKEN }}
run: "npm run publish:market"