Skip to content

Commit

Permalink
Update webpack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
opensrc0 authored Dec 8, 2023
1 parent a105335 commit 961f60b
Showing 1 changed file with 25 additions and 13 deletions.
38 changes: 25 additions & 13 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
name: NodeJS with Webpack

on:
push:
branches:
- 'master'
branches: [ "master" ]
pull_request:
workflow_dispatch:
branches: [ "master" ]

jobs:

wait:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x]

steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm install
npm run build
- name: Cypress tests
uses: ./
with:
working-directory: __application
start: npm run storybook
wait-on: 'http://localhost:6006'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3npm run storybook
with:
start: npm run storybook
wait-on: 'http://localhost:6006'

0 comments on commit 961f60b

Please sign in to comment.