Skip to content

Merge pull request #459 from akashic-games/render-before-scene #127

Merge pull request #459 from akashic-games/render-before-scene

Merge pull request #459 from akashic-games/render-before-scene #127

Workflow file for this run

name: Publish and Release
on:
push:
branches:
- main
env:
NODE_VERSION: 18
jobs:
release:
runs-on: ubuntu-latest
name: Publish and Release
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Prepare
run: |
npm ci
npm run build
npm test
- name: Publish and Release
uses: akashic-games/action-release@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}