mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
another try at wrangler stuff
This commit is contained in:
parent
734dbecf6b
commit
5763b3f279
1 changed files with 6 additions and 1 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -62,6 +62,8 @@ jobs:
|
|||
with:
|
||||
node-version: '14'
|
||||
|
||||
- run: npm i -g @cloudflare/wrangler
|
||||
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
|
@ -76,7 +78,10 @@ jobs:
|
|||
|
||||
- run: yarn install --frozen-lockfile
|
||||
|
||||
- run: yarn wrangler build
|
||||
- run: |
|
||||
wrangler init
|
||||
echo 'webpack_config = "src/backend-worker/webpack.config.js"' | tee -a wrangler.toml
|
||||
wrangler build
|
||||
|
||||
- name: Set up Cloud SDK
|
||||
uses: google-github-actions/setup-gcloud@master
|
||||
|
|
Loading…
Add table
Reference in a new issue