Skip to content

Switch to miniBill/elm-xml-parser #10

Switch to miniBill/elm-xml-parser

Switch to miniBill/elm-xml-parser #10

Workflow file for this run

name: Main Workflow
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
# TODO publish when tagged
test-and-deploy-benchmark:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
key: v1-${{ hashFiles('package-lock.json') }}-${{ hashFiles('elm.json', 'elm-tooling.json') }}
restore-keys: |
v1-${{ hashFiles('package-lock.json') }}-
v1-
path: |
node_modules
elm-stuff
benchmarks/elm-stuff
~/.elm
- uses: actions/setup-node@v2
with:
node-version: "16"
- run: npm ci
- run: npm test
- run: npx elm-format --validate src/ tests/ benchmarks/
- run: npm run generate-benchmark
- name: Deploy Benchmark
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs