Skip to content

猬嗭笍 Update @stethoscope-js/integrations to v2.4.1 #229

猬嗭笍 Update @stethoscope-js/integrations to v2.4.1

猬嗭笍 Update @stethoscope-js/integrations to v2.4.1 #229

Workflow file for this run

name: Build CI
concurrency: build
on:
push:
branches:
- master
jobs:
release:
name: Build and publish
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: npm ci
- name: Build TypeScript
run: npm run build
- name: Run tests
run: npm run test
- name: Build package
run: npm run package
- name: Publish package
uses: stefanzweifel/git-auto-commit-action@v4.15.4
with:
commit_message: ":rocket: Deploy new version [skip ci]"
commit_user_name: Stethoscoper
commit_user_email: stethoscope-js@anandchowdhary.com
commit_author: Stethoscoper <stethoscope-js@anandchowdhary.com>