Rename "Created Date" to "Last Modified" and update related types and… #148
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
| # This workflow will publish packages in this repo to the npm registry. | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
| name: Admin Components NPM Publish | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| token: ${{ secrets.IMJS_ADMIN_GH_TOKEN }} | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: | | |
| set -e | |
| echo 'Installing...' | |
| node common/scripts/install-run-rush.js install | |
| echo 'Building...' | |
| node common/scripts/install-run-rush.js build | |
| echo 'Publishing...' | |
| git config user.name "imodeljs-admin" | |
| git config user.email "[email protected]" | |
| node common/scripts/install-run-rush.js version --bump --target-branch main | |
| node common/scripts/install-run-rush.js publish --include-all --set-access-level public --apply --publish --npm-auth-token $NPM_TOKEN --target-branch main --suffix alpha | |
| env: | |
| NPM_TOKEN: ${{ secrets.NPMJS_PUBLISH_ITWIN }} |