Skip to content

Merge remote-tracking branch 'origin/master' #267

Merge remote-tracking branch 'origin/master'

Merge remote-tracking branch 'origin/master' #267

Workflow file for this run

on: push
name: Build Angular
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.14.0]
steps:
- uses: actions/checkout@v2
with:
#persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Cache node modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Installing modules (npm i)
run: |
npm i
- name: Updating version for ZPM
run: |
node ./.github/sync-zpm-version
- name: Building DSW and addons
run: |
npm run build:addons
npm run build
- name: Deploying dist to master
continue-on-error: true
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add ./dist/*
git add ./module.xml
git commit -am "Automated commit of dist"
git push