Skip to content

Hotfix/code refactoring from sonarcloud (#1301) #3

Hotfix/code refactoring from sonarcloud (#1301)

Hotfix/code refactoring from sonarcloud (#1301) #3

Workflow file for this run

name: Snap Build
on: push
defaults:
run:
shell: bash
jobs:
snap:
runs-on: ubuntu-latest
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
steps:
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js and NPM
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build
run: npm ci
- name: Release
if: contains(github.ref, 'develop')
run: npm run dist:linux:snap -- --publish always
snap-armv7l:
runs-on: ubuntu-latest
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
steps:
- name: Install Snapcraft
uses: samuelmeuli/action-snapcraft@v2
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js and NPM
uses: actions/setup-node@v4
with:
node-version: 20
- name: Build
run: npm ci
- name: Release
if: contains(github.ref, 'develop')
run: npm run dist:linux:snap:armv7l -- --publish always