Skip to content

Merge pull request #2 from RosemanLabs/esteban-release-refs #13

Merge pull request #2 from RosemanLabs/esteban-release-refs

Merge pull request #2 from RosemanLabs/esteban-release-refs #13

Workflow file for this run

on:
push:
branches:
- main
paths:
- src/**
jobs:
compile:
name: Compile typescript code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-node@v2
- name: Install dependencies
run: npm install
- name: Compile with ncc
run: npx @vercel/ncc build src/index.ts --minify
- name: Commit & Push changes
uses: actions-js/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
message: 'Auto-compile dist code'
author_name: 'splitsh automation'
author_email: '[email protected]'