Skip to content

Merge branch 'feature/add-vanilla-build-into-package' #12

Merge branch 'feature/add-vanilla-build-into-package'

Merge branch 'feature/add-vanilla-build-into-package' #12

Workflow file for this run

name: Release
on:
push:
branches:
- master
- release/vanilla-into-joystick
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 21
cache: 'pnpm'
- name: Install dependendencies
run: pnpm i
- name: Build project
run: pnpm run build
- name: Run lint
run: pnpm run lint
- name: Run check
run: pnpm run check
- name: Run tests
run: pnpm run test
release:
needs: test
name: Release
runs-on: ubuntu-latest
permissions:
id-token: write
issues: write
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 21
cache: 'pnpm'
- name: Install dependendencies
run: pnpm i
- name: Build core package
run: cd packages/core && pnpm build
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Release
run: npm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}