Merge pull request #349 from VirtusLab/dependabot/npm_and_yarn/typesc… #186
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: Update dist | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
update-dist: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ssh-key: ${{ secrets.SCALA_CLI_SETUP_INTERNAL_KEY }} | |
- name: Build | |
shell: bash -l {0} | |
run: | | |
nvm use lts/gallium | |
npm install | |
npm run all | |
- name: Create Pull Request | |
id: cpr | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: Update dist | |
author: GitHub <[email protected]> | |
delete-branch: true | |
title: Update dist | |
- name: Check Pull Request | |
run: | | |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" | |
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" |