GitHub Actions
GitHub Actions is a feature that allows developers to automate tasks and workflows directly from their GitHub repositories. This includes tasks such as building and testing code, deploying applications, and creating release workflows. Developers can use pre-built Actions or create their own custom Actions to automate their workflows.
Example:
name: Build and test
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Test
run: npm run test
No comments:
Post a Comment