Skip to content

Autocompleteinput select first match flag (#50) #648

Autocompleteinput select first match flag (#50)

Autocompleteinput select first match flag (#50) #648

Workflow file for this run

name: Publish package
on:
workflow_dispatch:
push:
branches: main
paths:
- "package.json"
- ".github/workflows/main.yaml"
env:
ROAMJS_DEVELOPER_TOKEN: ${{ secrets.ROAMJS_DEVELOPER_TOKEN }}
ROAMJS_TEST_DEVELOPER_TOKEN: ${{ secrets.ROAMJS_TEST_DEVELOPER_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Authenticate
run: echo '//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}' > ~/.npmrc
- name: Lint
run: npm run lint
- name: Build
run: npx tsc
# - name: Test
# run: npm t
- name: Prepare
run: cp LICENSE README.md package.json dist
- name: Publish
run: npm publish --access public
working-directory: dist