Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andorsk committed May 5, 2024
1 parent da7f7a6 commit dbb6f31
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
name: Node.js CI

name: Build
on:
push:
branches: [ "staging" ]
pull_request:
branches: [ "staging" ]

jobs:
build:

runs-on: ubuntu-latest

runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [18.x]

node-version: [18.0]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build

0 comments on commit dbb6f31

Please sign in to comment.