Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maximizeIT committed Jun 27, 2024
1 parent 0101058 commit 150587e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autodev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
autodev:
uses: Staffbase/gha-workflows/.github/workflows/template_autodev.yml@dont-check-private-key
uses: Staffbase/gha-workflows/.github/workflows/template_autodev.yml@v5.3.0
with:
comments: true
secrets:
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: CI Tests
env:
NODE_VERSION: 14
NODE_VERSION: 20
on:
push:
paths-ignore:
- '**.md'

jobs:
executing-tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
Expand All @@ -17,20 +17,22 @@ jobs:
persist-credentials: false

- name: Use Node.js Version
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://npm.pkg.github.com/'
scope: '@staffbase'

- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.STAFFBOT_NPM_READ }}" >> .npmrc

- name: Install Yarn Dependencies
working-directory: samples/weather-forecast
run: yarn install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.STAFFBOT_NPM_READ }}

- name: Run Build
working-directory: samples/weather-forecast
env:
NODE_OPTIONS: --openssl-legacy-provider
run: yarn build

- name: Run Lint
Expand Down

0 comments on commit 150587e

Please sign in to comment.