Skip to content

Fix/Check for updated build #1

Fix/Check for updated build

Fix/Check for updated build #1

Workflow file for this run

name: Checks
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
registry-url: https://npm.pkg.github.com/
scope: "@weglot"
- name: Install dependencies
run: npm install
- name: Build dist folder
run: npm run build
- name: Check if the compilation is up to date
run: git add -N . && git diff --no-patch --exit-code