Skip to content

Commit

Permalink
include push workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zaheral committed Oct 29, 2024
1 parent f9febd8 commit a6d3deb
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/fsh-shell_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: fsm-shell push
run-name: '[ON_PUSH fsm-shell] ${{ github.sha }}'

on:
pull_request:
branches: [master]

Check warning on line 6 in .github/workflows/fsh-shell_push.yml

View check run for this annotation

In Solidarity / Inclusive Language

Match Found

Please consider an alternative to `master`. Possibilities include: `primary`, `main`, `leader`, `active`, `writer`
Raw output
/\b(?!masterdata|masterdata\w+\b)master/gi

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: npm i
- name: Unit tests
run: npm run test:ci:headless

# test-build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: '18'
# - name: Install dependencies
# run: npm i
# - name: Run build
# run: npm run build

publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: npm i
- name: Run build
run: npm run build
- name: Publish
run: |
echo "Test-1"
ls
apk add unzip
apk add zip
zip -r shell-client.zip release/* ./package.json ./package-lock.json ./LICENSE
echo "Test-2"
ls
unzip ./shell-client.zip -d ./
echo "Test-3"
ls

0 comments on commit a6d3deb

Please sign in to comment.