Skip to content

Merge pull request #8 from gimnathperera/changeset-release/main #10

Merge pull request #8 from gimnathperera/changeset-release/main

Merge pull request #8 from gimnathperera/changeset-release/main #10

Workflow file for this run

name: Publish
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
linter:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['18.x']
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Setup node version ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm install --frozen-lockfile
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: npm run release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}