name: 'Release' on: push: branches: [master] jobs: release: runs-on: 'ubuntu-latest' steps: - uses: 'actions/checkout@v3.3.0' - name: 'Use Node.js' uses: 'actions/setup-node@v3.6.0' with: node-version: 'lts/*' cache: 'npm' - name: 'Install' run: 'npm install' - name: 'Build Package' run: 'npm run build' - run: 'npm run build:typescript' - name: 'Release' run: 'npm run release' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}