Fix/deployment workflows (#72) #196
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: Pull Request Workflow | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
format-and-test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: 'read' | |
actions: 'read' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
- uses: nrwl/nx-set-shas@v3 | |
with: | |
main-branch-name: 'develop' | |
workflow-id: 'pull-request.yml' | |
- run: npm ci | |
- name: Install docusaurus dependencies specifically | |
run: npm install --prefix ./packages/docs.siwt.xyz | |
- run: npx nx format:check | |
- run: npx nx run-many --target=test --parallel=3 --exclude=smart-contracts,discord,ory-hydra,oidc-client,oidc-bridge --skip-nx-cache |