Skip to content

fix: send bug report event to google bigquery (#322) #97

fix: send bug report event to google bigquery (#322)

fix: send bug report event to google bigquery (#322) #97

name: Autoinvoicing Integration
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches:
- main
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "deploy"
publish:
# The type of runner that the job will run on
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@holdex'
- id: check
uses: EndBug/version-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
file-name: './integrations/autoinvoicing/package.json'
file-url: '::before'
static-checking: localIsNew
- run: |
cd integrations/autoinvoicing
npm install
npm publish
if: steps.check.outputs.changed == 'true'
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}