Revise troubleshooting and feedback instructions #216
This file contains hidden or 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
| # This workflow checks app for unused or missing lang strings | |
| name: Language strings | |
| on: push | |
| env: | |
| ADAPT_AUTHORING_AUTH__tokenSecret: ${{ secrets.ADAPT_AUTH_TOKEN_SECRET }} | |
| ADAPT_AUTHORING_MONGODB__connectionUri: 'mongodb://0.0.0.0/adapt-authoring' | |
| ADAPT_AUTHORING_SERVER__host: 'localhost' | |
| ADAPT_AUTHORING_SERVER__port: '5678' | |
| ADAPT_AUTHORING_SERVER__url: 'http://localhost:5678' | |
| ADAPT_AUTHORING_SESSIONS__secret: ${{ secrets.ADAPT_SESSIONS_SECRET }} | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22.x] | |
| mongodb-version: [7.0] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| - name: Start MongoDB | |
| uses: supercharge/mongodb-github-action@1.10.0 | |
| with: | |
| mongodb-version: ${{ matrix.mongodb-version }} | |
| - run: npm i | |
| - run: npx at-langcheck |