Skip to content

Added support for text/turtle format for quad queries (#55) #31

Added support for text/turtle format for quad queries (#55)

Added support for text/turtle format for quad queries (#55) #31

Workflow file for this run

# This workflow will run DNT and then publish to NPM when a tag is created
name: Publish to NPM
on:
push:
tags:
- '*'
jobs:
dnt-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- uses: actions/github-script@v4
id: version
with:
script: |
const tag = context.ref.substring(10)
const no_v = tag.replace('v', '')
core.setOutput('tag', tag)
core.setOutput('no-v', no_v)
- run: deno task dnt ${{ steps.version.outputs.no-v }}
- run: npm publish --access public
working-directory: ./npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}