Skip to content

Commit

Permalink
fix: update remaining actions in the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BravoNatalie committed Nov 21, 2024
1 parent 010656f commit b02f3cf
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions .github/workflows/edge-gateway-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ jobs:
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.0.1
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 6.32.x
- uses: actions/setup-node@v2
version: 7.0.x
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- run: pnpm test:w3link-edge-gateway
deploy-staging:
Expand All @@ -30,16 +33,17 @@ jobs:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.0.1
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 6.32.x
- uses: actions/setup-node@v2
version: 7.0.x
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- name: Publish app
uses: cloudflare/wrangler-action@2.0.0
uses: cloudflare/wrangler-action@v3
env:
ENV: 'staging' # inform the build process what the env is
SENTRY_TOKEN: ${{secrets.SENTRY_TOKEN}}
Expand Down Expand Up @@ -73,18 +77,18 @@ jobs:
- deploy-staging
- changelog
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2.0.1
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 6.32.x
- uses: actions/setup-node@v2
version: 7.0.x
- uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: 16
node-version: 18
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- run: pnpm install
- name: Deploy
uses: cloudflare/wrangler-action@2.0.0
uses: cloudflare/wrangler-action@v3
env:
ENV: 'production' # inform the build process what the env is
SENTRY_TOKEN: ${{ secrets.SENTRY_TOKEN }}
Expand Down

0 comments on commit b02f3cf

Please sign in to comment.