Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

chore: Bump get-func-name from 2.0.0 to 2.0.2 #214

chore: Bump get-func-name from 2.0.0 to 2.0.2

chore: Bump get-func-name from 2.0.0 to 2.0.2 #214

Workflow file for this run

name: Node CI
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn
- name: Test
run: make test
env:
CI: true
publish:
if: contains(github.ref, 'master')
name: Publish to NPM
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn
- name: Publish
run: make publish
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}