fix CI
Tests & Lint & Deploy to Railway / build (20.x, 8.3) (push) Successful in 2m4s Details

This commit is contained in:
aslan 2024-02-10 14:21:43 +03:00
parent 3d14987fcb
commit 023dba341a
1 changed files with 12 additions and 16 deletions

View File

@ -40,23 +40,19 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
# - name: Add keys
# run: |
# sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub
# sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub
# - run: echo $COMPOSER_AUTH|jq -r '.["github-oauth"]["github.com"]'|base64
# - run: echo $GITHUB_TOKEN|base64
# - name: Diagnose composer
# env:
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
# run: composer diagnose -vvv
# - name: Install dependencies
# env:
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
# run: composer install # will work
- name: Add keys
run: |
sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub
sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub
- name: add GITHUB_TOKEN
run: composer config --global github-oauth.github.com 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
- name: Diagnose composer
env:
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
run: composer diagnose -vvv
- name: Install dependencies
env:
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
run: composer install # will work
- name: Setup project
run: make setup