Skip to content

Merge pull request #34 from Mailaender/node16 #56

Merge pull request #34 from Mailaender/node16

Merge pull request #34 from Mailaender/node16 #56

Workflow file for this run

name: "build-test"
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- 'releases/*'
jobs:
unit: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
npm install
npm run all
integration: # make sure the action works on a clean machine without building
# Only run integration test if we have access to secrets
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: snapcore/action-build@v1
id: build
with:
path: './sample-project'
- uses: ./
with:
store_login: ${{ secrets.STORE_LOGIN }}
snap: ${{ steps.build.outputs.snap }}
release: edge