Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI

on:
# Triggers the workflow on push or pull request events
push:
branches: [ master ]
pull_request:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Install dependencies and build latest.zip
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't a setup-node step needed here? (from the example in the docs)

Suggested change
- name: Install dependencies and build latest.zip
- name: Install dependencies and build latest.zip
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

run: npm install && npm run build