Skip to content

Merge pull request #24 from Saeris/dependabot/npm_and_yarn/eslint-plu… #23

Merge pull request #24 from Saeris/dependabot/npm_and_yarn/eslint-plu…

Merge pull request #24 from Saeris/dependabot/npm_and_yarn/eslint-plu… #23

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions: {}
jobs:
release:
if: github.repository == 'saeris/valimock'
permissions:
contents: write
pull-requests: write
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: "yarn"
- name: Install Dependencies
run: yarn install --immutable
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
version: yarn changeset version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}