Skip to content

fix: update ncc and minor workflow enhancements (#269) #195

fix: update ncc and minor workflow enhancements (#269)

fix: update ncc and minor workflow enhancements (#269) #195

Workflow file for this run

on:
push:
branches:
- master
name: Package
jobs:
check:
name: Package distribution file
runs-on: ubuntu-22.04
steps:
- name: Checkout
#Version actions/[email protected]
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
ref: master
- name: Node setup
#Version actions/[email protected]
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
with:
node-version: "18.16.1"
- name: Package
run: |
npm ci
npm test
npm run package
- name: Commit
run: |
git config --global user.name "GitHub Actions"
git add dist/
git commit -m "chore: Update dist" || echo "No changes to commit"
git push origin HEAD:master