Skip to content

Update release token #1

Update release token

Update release token #1

Workflow file for this run

name: Release
on:
push:
branches:
- master
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: ESLint
run: npm run lint
- name: Lint dependencies
run: npm run lint:deps
- name: Lint types
run: npm run lint:types
- name: Test source
run: npm run test
- name: Build source
run: npm run build
- name: Raise release or publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}