Merge pull request #10 from avs2001/codex/implement-tasks-from-tasks.md #38
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: Angular Package | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 14 | |
| - run: npm ci | |
| - run: npm run build | |
| - name: Upload distribution folder | |
| uses: actions/[email protected] | |
| with: | |
| name: dist | |
| path: ./dist | |
| publish: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| packages: write | |
| contents: read | |
| steps: | |
| - name: Download distribution folder | |
| uses: actions/download-artifact@v3 | |
| with: | |
| name: dist | |
| path: ./dist | |
| - uses: actions/setup-node@v3 | |
| with: | |
| registry-url: https://npm.pkg.github.com/ | |
| - run: ls -la ./dist/carousel | |
| - run: npm version patch | |
| working-directory: ./dist/carousel | |
| - run: npm publish | |
| working-directory: ./dist/carousel | |
| env: | |
| NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} |