Skip to content

updating some code comments #333

updating some code comments

updating some code comments #333

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Release next/*
on:
push:
branches: [next/*]
paths:
- 'packages/**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- run: npm install -g yarn lerna
- run: yarn
- name: Extract tag name
shell: bash
run: echo "##[set-output name=tag;]$(branch=${GITHUB_REF#refs/heads/}; echo ${branch/\//.})"
id: extract_tag
- run: node scripts/setVersion.js --tag ${{ steps.extract_tag.outputs.tag }}
- run: yarn build
- run: lerna exec --scope @microsoft/* -- "npm publish --tag ${{ steps.extract_tag.outputs.tag }} --access=public"
if: github.repository == 'microsoftgraph/microsoft-graph-toolkit'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Upload a Build Artifact - mgt-spfx Solution
uses: actions/upload-artifact@v2
with:
name: mgt-spfx solution
path: packages/mgt-spfx/sharepoint/*