Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
triniwiz committed Aug 7, 2024
1 parent 9378354 commit 659d76b
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,18 +200,48 @@ jobs:
with:
node-version: 22
registry-url: "https://registry.npmjs.org"
- name: Build Package
run: npm

- name: Generate Version
working-directory: packages/canvas
run: |
echo NPM_VERSION=$(node -e "console.log(require('./package.json').version);")-$NPM_TAG-$(date +"%m-%d-%Y")-$GITHUB_RUN_ID >> $GITHUB_ENV
- name: Bump Version
- name: Bump canvas
working-directory: packages/canvas
run: npm version $NPM_VERSION

- name: Bump canvas-babylon
working-directory: packages/canvas-babylon
run: npm version $NPM_VERSION

- name: Bump canvas-media
working-directory: packages/canvas-media
run: npm version $NPM_VERSION

- name: Bump canvas-phaser
working-directory: packages/canvas-phaser
run: npm version $NPM_VERSION

- name: Bump canvas-phaser-ce
working-directory: packages/canvas-phaser-ce
run: npm version $NPM_VERSION

- name: Bump canvas-pixi
working-directory: packages/canvas-pixi
run: npm version $NPM_VERSION

- name: Bump canvas-polyfill
working-directory: packages/canvas-polyfill
run: npm version $NPM_VERSION

- name: Bump canvas-three
working-directory: packages/canvas-three
run: npm version $NPM_VERSION

- name: Bump canvas-svg
working-directory: packages/canvas-svg
run: npm version $NPM_VERSION

- name: Build all packages
run: npx nx run canvas:build.all

Expand Down

0 comments on commit 659d76b

Please sign in to comment.