Fix PaxList issue - There should be only 1 PaxList inside each RoomCo… #87
Workflow file for this run
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: Node.js Package | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 12 | |
- run: npm ci | |
- run: npm run build --if-present | |
- run: npm test | |
env: | |
ti2_tourplan_endpoint: ${{ secrets.TOURPLAN_ENDPOINT }} | |
ti2_tourplan_username: ${{ secrets.TOURPLAN_USERNAME }} | |
ti2_tourplan_password: ${{ secrets.TOURPLAN_PASSWORD }} | |
tag: | |
if: github.ref == 'refs/heads/main' | |
needs: build_and_test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: tool3/bump@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
unrelated: true | |
branch: main | |
publish-npm: | |
if: github.ref == 'refs/heads/main' | |
needs: tag | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: JS-DevTools/npm-publish@v1 | |
with: | |
token: ${{ secrets.NPM_TOKEN }} |