Skip to content

Bump braces from 3.0.2 to 3.0.3 (#108) #156

Bump braces from 3.0.2 to 3.0.3 (#108)

Bump braces from 3.0.2 to 3.0.3 (#108) #156

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
packages: write
pull-requests: write
issues: read
steps:
- name: Begin CI...
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version-file: .node-version
registry-url: "https://registry.npmjs.org/"
scope: "@nanlabs"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Copy the .npmrc file to the HOME and project directories
run: cp $NPM_CONFIG_USERCONFIG $HOME/.npmrc && cp -f $NPM_CONFIG_USERCONFIG .
- name: Install dependencies
run: npm ci
- name: Create Release Pull Request
id: changesets
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish
if: steps.changesets.outputs.hasChangesets == 'false'
run: npm run publish-packages
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}