biothings / mygeneset.info

Apache License 2.0
5 stars 3 forks source link

Test GitHub actions #81

Closed everaldorodrigo closed 1 year ago

vincerubinetti commented 1 year ago

Here's a change to the workflow that I was going to try:

# ...
      - name: Create ES Index
        run: curl -X PUT http://localhost:9200/user_genesets
      - name: Clone frontend repo
        uses: actions/checkout@v3
        with:
          repository: biothings/mygeneset.info-website
          path: mygeneset.info-website
      - name: Set up Node
        uses: actions/setup-node@v2
        working-directory: mygeneset.info-website
        with:
          node-version: "16"
      - name: Install packages
        run: yarn install
        working-directory: mygeneset.info-website
      - name: Build app
        run: yarn build
        working-directory: mygeneset.info-website
      - name: Checkout MyGeneset source
        uses: actions/checkout@v2
 # ...
everaldorodrigo commented 1 year ago

Here's a change to the workflow that I was going to try:

# ...
      - name: Create ES Index
        run: curl -X PUT http://localhost:9200/user_genesets
      - name: Clone frontend repo
        uses: actions/checkout@v3
        with:
          repository: biothings/mygeneset.info-website
          path: mygeneset.info-website
      - name: Set up Node
        uses: actions/setup-node@v2
        working-directory: mygeneset.info-website
        with:
          node-version: "16"
      - name: Install packages
        run: yarn install
        working-directory: mygeneset.info-website
      - name: Build app
        run: yarn build
        working-directory: mygeneset.info-website
      - name: Checkout MyGeneset source
        uses: actions/checkout@v2
 # ...

Thanks @vincerubinetti, it worked :)