mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 07:25:09 +01:00
31 lines
476 B
YAML
31 lines
476 B
YAML
|
name: Testing
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- next
|
||
|
pull_request:
|
||
|
types: [opened, reopened]
|
||
|
|
||
|
permissions: read-all
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
name: Build
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout code
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Install Node.js
|
||
|
uses: actions/setup-node@v1
|
||
|
with:
|
||
|
node-version: 16
|
||
|
|
||
|
- name: Install Yarn packages
|
||
|
run: yarn install
|
||
|
|
||
|
- name: Build project
|
||
|
run: yarn build
|