Skip to content

+ replacement for release test #15

+ replacement for release test

+ replacement for release test #15

Workflow file for this run

name: Release
on:
push:
branches:
- master
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 21
cache: 'npm'
- name: Install dependendencies
run: npm i
- name: Build project
run: npm run build
- name: Run lint
run: npm run lint
- name: Run check
run: npm run check
- name: Run tests
run: npm 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: actions/setup-node@v3
with:
node-version: 21
cache: 'npm'
- name: Install dependendencies
run: npm i
- name: Build core package
run: cd packages/core && npm run 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 }}