Skip to content

release: pages@1.1.0-beta.7 #52

release: pages@1.1.0-beta.7

release: pages@1.1.0-beta.7 #52

Workflow file for this run

name: Publish Package
on:
push:
tags:
- "pages*" # Push events to matching pages*, i.e. pages@1.0.0
jobs:
publish:
# prevents this action from running on forks
if: github.repository == 'yext/pages'
runs-on: ubuntu-latest
environment: Release
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
- name: Set node version to 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- name: Install deps
run: pnpm install
- name: Publish package
run: pnpm run ci-publish ${{ github.ref_name }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}