Loading .github/workflows/main.yml 0 → 100644 +26 −0 Original line number Diff line number Diff line # This is a basic workflow to help you get started with Actions name: CI # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: push: branches: [ master ] pull_request: branches: [ master ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: node-version: 10 - run: yarn - run: yarn lint - uses: JS-DevTools/npm-publish@v1 with: token: ${{ secrets.NPM_TOKEN }} Loading
.github/workflows/main.yml 0 → 100644 +26 −0 Original line number Diff line number Diff line # This is a basic workflow to help you get started with Actions name: CI # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch on: push: branches: [ master ] pull_request: branches: [ master ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: node-version: 10 - run: yarn - run: yarn lint - uses: JS-DevTools/npm-publish@v1 with: token: ${{ secrets.NPM_TOKEN }}