Merge pull request #6510 from nextcloud/dependabot/npm_and_yarn/main/… #11879
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/[email protected] | |
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 | |