Skip to content

v2.0.9

v2.0.9 #26

Workflow file for this run

name: Release MapGL Ruler Plugin
on:
release:
types: [created]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build container and run tests
run: docker-compose up --build --exit-code-from test test
- uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
path: test/screenshots/standards/**/__diff_output__/*.png
retention-days: 5
publish-npm:
needs: run-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}