Skip to content

Running a IHP app build on github actions #1292

Answered by mpscholten
francisdb asked this question in Q&A
Discussion options

You must be logged in to vote

For the case someone comes here from Google or GitHub search, here's a fully working GitHub action file:

# This is a basic workflow to help you get started with Actions

name: Test

# Controls when the workflow will run
on:
  # Triggers the workflow on push or pull request events but only for the main branch
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  tests:
    name: Run Tests
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: cachix/install-nix-act…

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
4 replies
@francisdb
Comment options

@stephenbenedict
Comment options

@mpscholten
Comment options

@stephenbenedict
Comment options

Comment options

You must be logged in to vote
1 reply
@mpscholten
Comment options

Comment options

You must be logged in to vote
7 replies
@mpscholten
Comment options

@francisdb
Comment options

@mpscholten
Comment options

@francisdb
Comment options

@mpscholten
Comment options

Comment options

You must be logged in to vote
2 replies
@francisdb
Comment options

@francisdb
Comment options

Answer selected by mpscholten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants