Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
35 lines
712 B
YAML
35 lines
712 B
YAML
name: Node CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [14.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- name: Set up npm7
|
|
run: npm i -g npm@7
|
|
- name: install dependencies
|
|
run: |
|
|
npm ci
|
|
- name: build
|
|
env:
|
|
RELATIVE_CI_KEY: ${{ secrets.RELATIVE_CI_KEY }}
|
|
RELATIVE_CI_SLUG: nextcloud/deck
|
|
run: |
|
|
mkdir -p js
|
|
npm run build --if-present -- --profile --json | tail -n +6 > js/webpack-stats.json
|
|
npx relative-ci-agent
|
|
|
|
|