Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GitHub Actions #485

Merged
merged 6 commits into from May 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/fluent-bundle.yml
@@ -0,0 +1,26 @@
name: "@fluent/bundle"
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
dist:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{matrix.node}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node}}
- name: Install build tools
run: npm ci
- name: Install package dependencies
working-directory: ./fluent-bundle
run: npm ci
- name: make dist
working-directory: ./fluent-bundle
run: make dist
26 changes: 26 additions & 0 deletions .github/workflows/fluent-dedent.yml
@@ -0,0 +1,26 @@
name: "@fluent/dedent"
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
dist:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{matrix.node}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node}}
- name: Install build tools
run: npm ci
- name: Install package dependencies
working-directory: ./fluent-dedent
run: npm ci
- name: make dist
working-directory: ./fluent-dedent
run: make dist
26 changes: 26 additions & 0 deletions .github/workflows/fluent-dom.yml
@@ -0,0 +1,26 @@
name: "@fluent/dom"
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
dist:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{matrix.node}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node}}
- name: Install build tools
run: npm ci
- name: Install package dependencies
working-directory: ./fluent-dom
run: npm ci
- name: make dist
working-directory: ./fluent-dom
run: make dist
32 changes: 32 additions & 0 deletions .github/workflows/fluent-gecko.yml
@@ -0,0 +1,32 @@
name: "@fluent/gecko"
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
dist:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{matrix.node}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node}}
- name: Install build tools
run: npm ci
- name: Install package dependencies
working-directory: ./fluent-gecko
run: npm ci
- name: Install @fluent/syntax packages dependencies
working-directory: ./fluent-syntax
run: npm ci
- name: Install @fluent/react packages dependencies
working-directory: ./fluent-react
run: npm ci
- name: make dist
working-directory: ./fluent-gecko
run: make dist
26 changes: 26 additions & 0 deletions .github/workflows/fluent-langneg.yml
@@ -0,0 +1,26 @@
name: "@fluent/langneg"
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
dist:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{matrix.node}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node}}
- name: Install build tools
run: npm ci
- name: Install package dependencies
working-directory: ./fluent-langneg
run: npm ci
- name: make dist
working-directory: ./fluent-langneg
run: make dist
26 changes: 26 additions & 0 deletions .github/workflows/fluent-react.yml
@@ -0,0 +1,26 @@
name: "@fluent/react"
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
dist:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{matrix.node}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node}}
- name: Install build tools
run: npm ci
- name: Install package dependencies
working-directory: ./fluent-react
run: npm ci
- name: make dist
working-directory: ./fluent-react
run: make dist
26 changes: 26 additions & 0 deletions .github/workflows/fluent-sequence.yml
@@ -0,0 +1,26 @@
name: "@fluent/sequence"
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
dist:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{matrix.node}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node}}
- name: Install build tools
run: npm ci
- name: Install package dependencies
working-directory: ./fluent-sequence
run: npm ci
- name: make dist
working-directory: ./fluent-sequence
run: make dist
26 changes: 26 additions & 0 deletions .github/workflows/fluent-syntax.yml
@@ -0,0 +1,26 @@
name: "@fluent/syntax"
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
dist:
runs-on: ubuntu-latest
strategy:
matrix:
node: [10.x, 12.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{matrix.node}}
uses: actions/setup-node@v1
with:
node-version: ${{matrix.node}}
- name: Install build tools
run: npm ci
- name: Install package dependencies
working-directory: ./fluent-syntax
run: npm ci
- name: make dist
working-directory: ./fluent-syntax
run: make dist
1 change: 0 additions & 1 deletion .gitignore
@@ -1,6 +1,5 @@
node_modules
html
package-lock.json

# Test coverage
.nyc_output
Expand Down
2 changes: 1 addition & 1 deletion fluent-bundle/README.md
@@ -1,4 +1,4 @@
# @fluent/bundle
# @fluent/bundle ![](https://github.com/projectfluent/fluent.js/workflows/@fluent/bundle/badge.svg)

`@fluent/bundle` is a JavaScript implementation of Project Fluent, a
localization framework designed to unleash the expressive power of the
Expand Down
133 changes: 133 additions & 0 deletions fluent-bundle/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fluent-dedent/README.md
@@ -1,4 +1,4 @@
# @fluent/dedent
# @fluent/dedent ![](https://github.com/projectfluent/fluent.js/workflows/@fluent/dedent/badge.svg)

`@fluent/dedent` provides a template literal tag to dedent Fluent code.
Fluent Syntax is indentation-sensitive, and `@fluent/dedent` offers a
Expand Down
5 changes: 5 additions & 0 deletions fluent-dedent/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fluent-dom/README.md
@@ -1,4 +1,4 @@
# @fluent/dom
# @fluent/dom ![](https://github.com/projectfluent/fluent.js/workflows/@fluent/dom/badge.svg)

`@fluent/dom` provides DOM bindings for Project Fluent, a localization
framework designed to unleash the expressive power of the natural language.
Expand Down