-
-
Notifications
You must be signed in to change notification settings - Fork 4
Basic Pipeline
Sergii Bomko edited this page Mar 11, 2020
·
2 revisions
-
Define a trigger of the pipeline (e.g. only on
master
branch)on: push: branches: - master
-
Leave the definition of the job and run environment
jobs: build: runs-on: ubuntu-latest
-
Define prep-steps
steps: - uses: actions/checkout@v2 - name: Setup Node uses: actions/setup-node@v1 with: node-version: '10.x' - run: npm ci - run: npm run build
There will be a build artifact on a runner after these steps (usually in directory build
or dist
).