Had a great and fun stream today! Started it off fixing my Github Action and then learning about the new caching feature in Github Actions so dont have to re-install packages. After knocking that stuff I next started the adventure of doing reverse gravity command.
yarn install
because of a permissions errorSharing some cool stuff
Github Actions yarn install
issue
Here is the error I am seeing https://github.com/talk2MeGooseman/twitch-interactive-overlay/commit/6df712ab7becea20f77b855853670fbd3e3bb00c/checks?check_suite_id=292549368
Removing Borales/actions-yarn@master
since Yarn is already installed in the env now
steps:
- uses: actions/checkout@master
- name: Cache node modules
uses: actions/cache@preview
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: yarn install
if: steps.cache.outputs.cache-hit != 'true'
run: |
yarn install
Reverse gravity command in Phaser.io
scene.physics.world.gravity.y = -400
cache
feature for Github Actions: https://github.com/actions/cache/