Skip to content

fix: c/c++ directive and preprocessor tokenize (#26) #18

fix: c/c++ directive and preprocessor tokenize (#26)

fix: c/c++ directive and preprocessor tokenize (#26) #18

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Setup node.js
uses: actions/setup-node@master
with:
node-version: 18.x
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- uses: actions/cache@v1
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: pnpm-
- name: Install Dependencies
run: pnpm i --frozen-lockfile
- name: "Create Pull Request or Publish to npm"
uses: changesets/action@v1
with:
publish: pnpm ci:publish
version: pnpm ci:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}