Skip to content

Merge pull request #63 from EveripediaNetwork/changeset-release/main #79

Merge pull request #63 from EveripediaNetwork/changeset-release/main

Merge pull request #63 from EveripediaNetwork/changeset-release/main #79

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Node.js 14.x # Update Node.js version to 14 or higher
uses: actions/setup-node@v2
with:
node-version: 14.x # Ensure compatibility with optional chaining and nullish coalescing
- name: Install Dependencies
run: yarn
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}