Update JamesIves/github-pages-deploy-action digest to 9c4279f #514
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
| name: Test | |
| on: | |
| push: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Fetch articles from blog branch | |
| run: | | |
| git fetch | |
| git checkout origin/blog -- blog | |
| ls -l blog/ | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: '16' | |
| - name: 'Install modules' | |
| run: | | |
| npm install | |
| env: | |
| CI: true | |
| - name: 'Test to build blog' | |
| run: | | |
| npm run build | |
| npx scully --scanRoutes | |
| - uses: mattallty/jest-github-action@43bbcd073fa43a927322f188220b6592acae003b | |
| with: | |
| coverage-comment: false | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |