Update dependency typescript to v5.1.6 (#291) #180
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Automated Build" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Build and Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Setup | |
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | |
with: | |
node-version: 18.x | |
- name: Cache node_modules | |
id: cache-npm-packages | |
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 | |
env: | |
cache-name: cache-node_modules | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }} | |
- name: Install apt packages | |
if: ${{ steps.cache-npm-packages.outputs.cache-hit != 'true' }} | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y libkrb5-dev | |
- name: Install Dependencies | |
if: ${{ steps.cache-npm-packages.outputs.cache-hit != 'true' }} | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Commit & Push changes | |
uses: actions-js/push@156f2b10c3aa000c44dbe75ea7018f32ae999772 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
message: Update dist/index.js; ${{ github.event.head_commit.message }} | |
branch: dist | |
force: true |