Setting version to 4.2.20 #94
This file contains 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: IronWeb Snapshot | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
snapshot: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.WORKFLOW_PAT }} | |
- uses: actions/[email protected] | |
with: | |
version: 18.x | |
- name: build and unit test | |
run: | | |
yarn | |
yarn test | |
- name: release snapshot | |
env: | |
GIT_PROJECT_NAME: "ironweb" | |
# $NPM_TOKEN Allows publishing to NPM on build | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
BRANCH: "main" | |
run: | | |
npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN | |
node ./.github/scripts/snapshot.js |