create build and deploy #39
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: deploy | |
| run-name: create build and deploy | |
| on: | |
| release: | |
| types: [created] | |
| jobs: | |
| create: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| repository: ${{ github.repository }} | |
| token: ${{ secrets.ACC3SS_T0K3N }} | |
| - name: install dependencies | |
| run: | | |
| npm install | |
| npm install -g typescript ts-patch | |
| - name: build | |
| run: npm run build | |
| - name: deploy | |
| run: | | |
| export NPM_TOKEN=${{ secrets.NPM_ACC3SS_T0K3N }} | |
| npm publish |