chore(deps): update dependency vite to v5.4.6 [security] #1087
Workflow file for this run
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: E2E @defer Tests | |
on: | |
pull_request: | |
branches: [main] | |
merge_group: | |
types: [checks_requested] | |
jobs: | |
ci-docker-local: | |
name: CI Router | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: install rover | |
run: | | |
curl -sSL https://rover.apollo.dev/nix/latest | sh -s -- --elv2-license accept | |
echo "$HOME/.rover/bin" >> ${GITHUB_PATH} | |
- name: update docker-compose | |
run: | | |
which docker-compose && exit 0 || true | |
BIN_DIR=$HOME/.docker-compose/bin | |
FILE=$BIN_DIR/docker-compose | |
mkdir -p $BIN_DIR | |
set -x | |
curl -L --fail https://github.com/docker/compose/releases/download/1.29.1/docker-compose-`uname -s`-`uname -m` -o $FILE | |
chmod +x $FILE | |
echo "downloaded $($FILE --version)" | |
echo "$BIN_DIR" >> ${GITHUB_PATH} | |
set +x | |
echo --------------------------------------------------------------- | |
- name: check tools | |
run: | | |
echo --------------------------------------------------------------- | |
( set -x; which rover ) | |
echo "$(rover --version)" | |
echo --------------------------------------------------------------- | |
( set -x; which docker-compose ) | |
echo "$(docker-compose --version)" | |
echo --------------------------------------------------------------- | |
- name: Write secrets to .env | |
run: | | |
touch scripts/.env | |
echo APOLLO_KEY="$APOLLO_KEY" >> scripts/.env | |
echo APOLLO_GRAPH_REF="$APOLLO_GRAPH_REF" >> scripts/.env | |
env: | |
APOLLO_GRAPH_REF: ${{ secrets.APOLLO_GRAPH_REF }} | |
APOLLO_KEY: ${{ secrets.APOLLO_KEY }} | |
- name: docker-build-local-router | |
run: cd scripts && make docker-build-local-router | |
- name: docker-up-local-router | |
run: cd scripts && make docker-up-local-router | |
- name: cypress run | |
uses: cypress-io/github-action@v4 | |
with: | |
record: false | |
browser: chrome | |
working-directory: demo | |
command: npm run test | |
- name: docker-compose-down | |
run: cd scripts && make docker-compose-down |