feat(games/satisfactory): pass optional token, make http query not re… #117
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: Bun | |
on: | |
push: | |
branches: ["master"] | |
paths: | |
- "**.js" # Any JS file | |
- "package.json" | |
- "package-lock.json" | |
- ".github/workflows/bun.yml" # This action | |
pull_request: | |
branches: ["master"] | |
paths: | |
- "**.js" # Any JS file | |
- "package.json" | |
- "package-lock.json" | |
- ".github/workflows/bun.yml" # This action | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: 1.1.21 | |
- name: Install Dependencies | |
run: bun install | |
- name: Compile | |
run: bun build bin/gamedig.js --target=bun |