Skip to content

Merge pull request #189 from tiobe/dependabot/npm_and_yarn/types/node… #215

Merge pull request #189 from tiobe/dependabot/npm_and_yarn/types/node…

Merge pull request #189 from tiobe/dependabot/npm_and_yarn/types/node… #215

Workflow file for this run

name: Build
on:
push:
branches:
- main
concurrency: build.yml
jobs:
build:
name: build
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'Build dist after push to main') }}
steps:
- name: Setup git config
uses: actions/checkout@v4
- name: Build
uses: actions/setup-node@v3
with:
node-version: 18
- run: |
npm ci
npm run all
- name: Pull and push
uses: EndBug/add-and-commit@v9
with:
add: dist
pull: --rebase
message: Build dist after push to main