Skip to content

feat!: wip first naive json db semantic-conv (#63) #66

feat!: wip first naive json db semantic-conv (#63)

feat!: wip first naive json db semantic-conv (#63) #66

on:
push:
branches:
- master
paths-ignore:
- '.github/**'
- '.gitignore'
- 'CHANGELOG.md'
- 'commitlint.config.js'
- 'tsbuildconfig.json'
- '.prettierrc.json'
- '.prettierignore'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out TS Project Git repository
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 18
- name: Install Node.js dependencies
run: npm i
- name: Run lint
run: npm run lint
- name: Run format
run: npm run format
- name: Build project
run: npm run build
- name: setup git config
run: |
git config --global user.email "mapcolonies@gmail.com"
git config --global user.name "mapcolonies"
- name: Bump new version
run: npm run release
- name: Push git tag
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.MC_WRITE_ACCESS_TOKEN }}
branch: ${{ github.ref }}
tags: true
- name: Push to NPM
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}