Skip to content

feat(barcode-scanning): support all barcode types (#206) #56

feat(barcode-scanning): support all barcode types (#206)

feat(barcode-scanning): support all barcode types (#206) #56

Workflow file for this run

name: Release
on:
push:
branches:
- main
- next
paths:
- .changeset/**
workflow_dispatch:
concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
NODE_VERSION: 20
jobs:
release:
name: Release
runs-on: ubuntu-latest
if: github.repository == 'capawesome-team/capacitor-mlkit'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install Dependencies
run: npm ci
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
commit: "chore(release): publish"
title: "chore(release): publish"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}