Skip to content

Commit

Permalink
feat: build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 4, 2022
1 parent 81bbc37 commit 28a72ab
Show file tree
Hide file tree
Showing 49 changed files with 2,305 additions and 1,164 deletions.
16 changes: 16 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.222.0/containers/typescript-node/.devcontainer/base.Dockerfile

# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 16, 14, 12, 16-bullseye, 14-bullseye, 12-bullseye, 16-buster, 14-buster, 12-buster
ARG VARIANT="16-bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}

# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>

# [Optional] Uncomment if you want to install an additional version of node using nvm
# ARG EXTRA_NODE_VERSION=10
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"

# [Optional] Uncomment if you want to install more global node packages
# RUN su node -c "npm install -g <your-package-list -here>"
40 changes: 40 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.222.0/containers/typescript-node
{
"name": "Node.js & TypeScript",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local on arm64/Apple Silicon.
"args": {
"VARIANT": "16-bullseye"
}
},

// Set *default* container specific settings.json values on container create.
"settings": {},


// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",
"onCreateCommand": "brew install act snyk/tap/snyk",
"postCreateCommand": "npm install",

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node",
"features": {
"docker-in-docker": "latest",
"git": "latest",
"github-cli": "latest",
"homebrew": "latest"
}
}
12 changes: 5 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,21 @@ on: [pull_request]

env:
RUNNER_TEMP: /tmp
TEST_ARTIFACT_VERSION: 0.6.18
TEST_ARTIFACT_VERSION: 0.6.22

jobs:
local_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0

- uses: actions/setup-node@v2.5.1
- uses: actions/setup-node@v3
with:
node-version: '17.x'
node-version-file: .node-version
cache: 'npm'

- name: Install Dependencies
run: |
npm install -g npm
npm ci
run: npm ci

- name: Check Format
run: npm run format-check
Expand Down Expand Up @@ -85,7 +83,7 @@ jobs:
install: true

- name: Login to GitHub Container Registry
uses: docker/login-action@v1.12.0
uses: docker/login-action@v1.14.1
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
type=raw,value=${{ env.RELEASE_VERSION }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v1.12.0
uses: docker/login-action@v1.14.1
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Security Scans

on: [push]
on:
- push
- release

jobs:
snyk-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- uses: actions/setup-python@v2
- uses: actions/setup-python@v3
with:
cache: 'pip'

Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
17
16
2 changes: 1 addition & 1 deletion fake_collection/galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace: artis3n
name: test_resource_do_not_use
version: 2.6.18
version: 2.6.22
readme: README.md
authors:
- Ari Kalfus (@artis3n) <dev@artis3nal.com>
Expand Down
10 changes: 10 additions & 0 deletions node_modules/libphonenumber-js/CHANGELOG.md

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

6 changes: 4 additions & 2 deletions node_modules/libphonenumber-js/README.md

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

121 changes: 89 additions & 32 deletions node_modules/libphonenumber-js/build/AsYouType.js

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

2 changes: 1 addition & 1 deletion node_modules/libphonenumber-js/build/AsYouType.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 28a72ab

Please sign in to comment.