added indexes to tables referencing user table (#77) #67
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: Arena Server | |
on: | |
push: | |
branches: | |
- 'master' | |
paths-ignore: | |
- 'package.json' | |
jobs: | |
bump-version-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.ACCESS_TOKEN }} | |
- name: Temporarily disable "include administrators" branch protection | |
uses: benjefferies/branch-protection-bot@master | |
if: always() | |
with: | |
access_token: ${{ secrets.ACCESS_TOKEN }} | |
- name: 'Automated Version Bump' | |
uses: 'phips28/gh-action-bump-version@master' | |
env: | |
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
with: | |
tag-prefix: 'v' | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
registry-url: https://npm.pkg.github.com/ | |
scope: '@openforis' | |
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.ACCESS_TOKEN }}" > .npmrc | |
- run: echo "\"@openforis:registry\"" "\"https://npm.pkg.github.com\"" > .yarnrc | |
- run: cat .npmrc | |
- run: cat .yarnrc | |
- run: npm install | |
- run: npm publish | |
- name: Enable "include administrators" branch protection | |
uses: benjefferies/branch-protection-bot@master | |
if: always() # Force to always run this step to ensure "include administrators" is always turned back on | |
with: | |
access_token: ${{ secrets.ACCESS_TOKEN }} | |
owner: openforis | |
repo: arena-server |