Merge pull request #175 from TrustNXT/dependabot/npm_and_yarn/changes… #393
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: Build TypeScript | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
run-eslint: | |
name: Run TypeScript Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
id: setup-node | |
uses: actions/setup-node@v4 | |
with: | |
cache: npm | |
node-version: 22 | |
- name: Install Dependencies | |
id: npm-ci | |
run: npm ci | |
- name: Run TypeScript Build | |
id: npm-build | |
run: npm run build |