Publish #47
Workflow file for this run
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Publish | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| publish: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '16' | |
| registry-url: 'https://registry.npmjs.org' | |
| # Dependency node-sass will not install without Python 2; need to install. | |
| - name: Install Python 2 | |
| run: | | |
| curl -O https://www.python.org/ftp/python/2.7.18/python-2.7.18-macosx10.9.pkg | |
| sudo installer -pkg python-2.7.18-macosx10.9.pkg -target / | |
| echo 'export PYTHON="/Library/Frameworks/Python.framework/Versions/2.7/bin/python2"' >> $GITHUB_ENV | |
| - run: npm install | |
| - run: npx webpack --config ./webpack.config.npm.js | |
| #- run: npm publish | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} |