name: publish
on: push
jobs:
  main:
    name: Publish CI tagged release for MDX
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - uses: dcodeIO/setup-node-nvm@master
      - run: 'echo "to do: figure out npm"'
      # - run: npm install -g yarn && yarn --frozen-lockfile
      #   env:
      #     CI: 'true'
      # - name: Publish CI tag to npm
      #   if: github.ref == 'refs/heads/main'
      #   run: |
      #     npm set //registry.npmjs.org/:_authToken $NPM_AUTH_TOKEN
      #     yarn publish-ci
      #   env:
      #     NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
