Skip to content

Commit

Permalink
[CN-3075] Adding YARN actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tovar-rodrigo committed Mar 29, 2024
1 parent 40a7c34 commit c8b49b8
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,25 @@ jobs:
run: |
echo "VERSION=$(git describe --tags --abbrev=0 --match="v[0-9]*" | cut -c2-)-dev-${GITHUB_REF_NAME}-$(git rev-parse --short HEAD)-$(date --utc +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
- name: Run install
uses: borales/actions-yarn@v4
with:
cmd: modules # will run `yarn install` command

- name: Run modules
uses: borales/actions-yarn@v4
with:
cmd: modules # will run `yarn install` command

- name: Run build
uses: borales/actions-yarn@v4
with:
cmd: build # will run `yarn install` command

- name: Build
env:
ORG_GRADLE_PROJECT_version: ${{ steps.build_variables.outputs.VERSION }}
run: ./gradlew build
#- name: Build
# env:
# ORG_GRADLE_PROJECT_version: ${{ steps.build_variables.outputs.VERSION }}
# run: ./gradlew build

- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit c8b49b8

Please sign in to comment.