shoelace/.github/workflows/node.js.yml

31 wiersze
874 B
YAML
Czysty Zwykły widok Historia

2021-09-24 13:07:06 +00:00
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [next]
2021-09-24 13:07:06 +00:00
pull_request:
branches: [next]
2021-09-24 13:07:06 +00:00
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
2023-11-21 01:38:09 +00:00
node-version: [18.x]
2021-09-24 13:07:06 +00:00
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
2022-08-26 13:46:35 +00:00
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
2022-08-26 13:46:35 +00:00
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
2023-11-17 19:25:56 +00:00
- run: npx playwright install --with-deps
- run: npm ci
- run: npm run verify