Skip to content

Use modern-ahocorasick (#1197) #456

Use modern-ahocorasick (#1197)

Use modern-ahocorasick (#1197) #456

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
name: Publish & Deploy
runs-on: ubuntu-latest
env:
CI: true
steps:
- name: Checkout Repo
uses: actions/checkout@main
with:
fetch-depth: 0
token: ${{ secrets.VANILLA_EXTRACT_CI_GITHUB_TOKEN }}
- uses: pnpm/[email protected]
- name: Set up Node.js
uses: actions/setup-node@main
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Install Dependencies
run: pnpm i
- name: Create release PR or publish to npm
uses: changesets/action@c2918239208f2162b9d27a87f491375c51592434
with:
version: pnpm run version
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.VANILLA_EXTRACT_CI_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}