use node 20 #2
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: "Compile typescript into one file" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
compile-typescript: | |
runs-on: ubuntu-latest | |
name: compile all typescript files into one javascript file | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "npm ci" | |
run: npm ci | |
- name: "npm run dist" | |
run: npm run dist | |
- name: "push compiled file" | |
uses: alexesprit/[email protected] | |
with: | |
file-path: dist/index.js | |
commit-msg: Compile all ts into one file | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
test-action: | |
runs-on: ubuntu-latest | |
needs: [compile-typescript] | |
steps: | |
- name: Changelog Reminder | |
uses: . | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |