ci: temporarily pin the verdaccio-memory version (#2525) #2910
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: release-workflow-test | |
| on: | |
| pull_request: | |
| branches: | |
| - '*' | |
| push: | |
| branches: | |
| - main | |
| - next | |
| jobs: | |
| release-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 'lts/*' | |
| cache: 'yarn' | |
| - name: Install dependencies if needed | |
| run: yarn install | |
| # TODO: temporarily pin the version due to https://github.com/verdaccio/verdaccio/issues/5828 | |
| - name: Publish with Verdaccio | |
| run: | | |
| git switch -c "pull-request" | |
| npm i -g verdaccio verdaccio-auth-memory verdaccio-memory@10.4.1 | |
| nohup verdaccio --config .github/verdaccio/config.yaml &>verdaccio.log & | |
| yarn verdaccio:release | |
| - name: Run tests in vite-project-react-babel | |
| run: | | |
| cp ./.github/verdaccio/.yarnrc.yml ./examples/vite-project-react-babel/.yarnrc.yml | |
| cd ./examples/vite-project-react-babel | |
| yarn up "@lingui/*" | |
| yarn messages:extract | |
| yarn test | |
| yarn build | |
| - name: Print Verdaccio Log | |
| if: ${{ failure() }} | |
| run: cat ./verdaccio.log |