Skip to content

removes pr hook for publish #9

removes pr hook for publish

removes pr hook for publish #9

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v3
with:
path: |
~/.elm
~/.npm
**/elm-stuff
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm run check-versions
- run: npm install
- uses: jorelali/setup-elm@v5
- uses: dillonkearns/elm-publish-action@v1
id: elm-package-publish
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- if: steps.elm-package-publish.outputs.is-publishable == 'true'
run: npm run runner:compile && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}