Skip to content

Merge pull request #475 from akashic-games/fix-key-to-register-in-scr… #147

Merge pull request #475 from akashic-games/fix-key-to-register-in-scr…

Merge pull request #475 from akashic-games/fix-key-to-register-in-scr… #147

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@v4
- name: Setup Node
uses: actions/setup-node@v4
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 }}