Skip to content

Merge pull request #10 from gimnathperera/ci/github-package-configura… #14

Merge pull request #10 from gimnathperera/ci/github-package-configura…

Merge pull request #10 from gimnathperera/ci/github-package-configura… #14

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 }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}