This repository was archived by the owner on Mar 29, 2026. It is now read-only.
fix: Update endpoint for getGamePasses (#875) #542
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 & Publish | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| - next | |
| push: | |
| branches: | |
| - master | |
| - next | |
| permissions: | |
| contents: write | |
| packages: write | |
| id-token: write | |
| issues: write | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - name: Install yarn | |
| run: npm install -g yarn | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Lint lib/ | |
| run: yarn lint | |
| publish-npm: | |
| needs: test | |
| if: github.event_name == 'push' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - name: Install yarn | |
| run: npm install -g yarn | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Cache node modules | |
| uses: actions/cache@v4 | |
| with: | |
| path: node_modules | |
| key: yarn-deps-${{ hashFiles('yarn.lock') }} | |
| restore-keys: | | |
| yarn-deps-${{ hashFiles('yarn.lock') }} | |
| - name: Create Release | |
| run: npx semantic-release@25.0.3 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |