-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
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
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 In Solidarity / Inclusive LanguageMatch Found
Raw output
|
||
|
||
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 |